I ran your test, but didn't notice any inaccuracies.

What I did notice however: the left vertical line and the top horizontal line 
are drawn exactly on the edge of the imagable area. Because of that, those 
lines are for one half outside the imagable area and thus thinner. I'm not 
sure, but maybe an optical effect of that may lead you to think that the lines 
are not layed out properly. (For my old eyes the lines seem to dance near the 
top and left border).

I changed the translate in your code to get rid of those half lines and then 
the output looks completely satisfactory for me.

[code]g2.translate(format.getImageableX() + 1, format.getImageableY() + 
1);[/code]

Piet
[Message sent by forum member 'pietblok' (pietblok)]

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

===========================================================================
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
lists...@java.sun.com and include in the body of the message "help".

Reply via email to