• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Java rotating image (AffineTransform) image getting cut off at parts?

Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to rotate an image using the affinetransform awt.geom tool, however if any part is rotated, the parts that should be shown above, or to the left of the previous un-rotated image are not shown. Heres two images describing my problem:

Picture 1, before the rotation. All is well:

Next, picture 2. AFTER the rotation. The top is cut off:

The same that happened to the top in picture 2 would happen if I were to rotate it to where part of the image would stick out to the left.
    Bookmark Topic Watch Topic
  • New Topic