Hello,

I'm trying to resize an image (jpg) before drawing it to the graphics2d. But
I need to apply greater ratio of resize to one of the sides of the image.

supposing the original 4 corner points of the image are
(10,10) (30,10) (30,20) (10,20)
the normal 2X resize (and translation) would give
(10,10) (50,10) (50,30) (10,30)

but the resize I'm intended to do, keeping the left edge of the image size
intact and resizing to right would result in
(10,10) (40,0) (40,30) (10,20)

the porpouse is to give the feeling of "entering" a corridor. Beign the
images like the walls of the corridor.

I can't use 3D graphics, must do it with 2d
best regards
Jonathan

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