thats right. but theres no change when i re-render my image on every zoom change. please look at my example!
Phil Race schrieb am 11.02.2004 16:29:
Michael Seele wrote:
hi guys, i have a big problem: my application shows lot of rectangles which can be dragged on the screen. the application also supports zooming, i implement this with transform scale. is it possible to use double buffering to draw the rectangles(they contains lot of text). when i use the standart bufferedImage, the text looks not very good. for example i add two screenshoots. one in 100% and one in 400%!!! thanks
its not just fonts, its everything. look at the tick marks too. You will need to change your approach. In your case when you scale there's no text drawing happening. Its just image scaling on image pixels. ie you are pre-rendering an image at one resolution and then scaling the image pixels to other resolutions. That is not how to do resolution independent graphics.
You will need to re-render eveything at the requested resolution each time.
-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".
-- Mit freundlichen Gruessen Michael Seele([EMAIL PROTECTED])
G & H Softwareentwicklung GmbH Tel.: {+49|0} 7451 - 53 706 0
Robert-Bosch-Str. 23 Fax: {+49|0} 7451 - 53 706 90
D-72160 Horb a.N. http://www.guh-software.de
=========================================================================== 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".
<<attachment: src.zip>>
