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

Reply via email to