Simple zoom/unzoom is implemented as scaling whole graphics
Grpaphics2d g2 = g2d.createGraphics();
g2.setscale(0.5f, 0.5f); // 50% of normal size

problem:
some shapes, for example rectangle doesnt render normally (if it has thin 
stroke)
g2.drawRect(..)
Often it draws only top and left edge, but may be and other cases (deraws only 
top edge, draws everything exept bottom edge.. etc)

i try to set bicubic interpolation and antialiasing but it douesn't help...
maybe its wrong scaling method? or maybe its a java2d bug
(using sun java 1.6)
[Message sent by forum member 'xvik' (xvik)]

http://forums.java.net/jive/thread.jspa?messageID=209794

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