I have a problem that I find difficult to resolve. I have a PlanarImage
that I display via DisplayJAI. I am able to scale and rotate without
problems. I can draw a rectangle onto the image via g2d.drawrect(). What I
would like to do is draw the rectangle once then when I scale or rotate
the image the rectangle is scaled and rotated as well. I suppose I would
like to make the rectangle part of the image. I thought this would be an
easier task than trying to calculate the rectangle coordinates relative to
the image when the image is rotated. If someone has an algorithm to do
this then I would appreciate it.

Regards
Phil

===========================================================================
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".

Reply via email to