Now, all this is fine and dandy, except I can not work out how to avoid clipping in the negative region. It seems that any AffineTransform clips any pixels ending up on negative coordinates.
BufferedImage objects all have implicit origins of 0,0 and only include pixels with positive coordinates. Thus, the AffineTransformOp, which places its results into a BufferedImage object, has no place to put the pixels which fall on negative coordinates.
If you want those pixels then you need to make sure that the AffineTransform that you supply to the AffineTransformOp has an appropriate translation applied to move all of the coordinates back into the positive domain.
You should be able to get the bounds of the operation from the Op and then apply the origin of those bounds to the AffineTransform using the translate method. You will then need to create a new AffineTransformOp with the new translated AffineTransform...
...jim
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
