Search within Swing / AWT / SWT
Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Swing / AWT / SWT
Java rotating image (AffineTransform) image getting cut off at parts?
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
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.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Boost this thread!
AffineTransform inaccuracy or developer innaccuracy
How to turn the text vertical in graphics?
Rotating a buffered image
After rotating couldnt view
image file rotation