Sorry, fixed now.

And several questions about the code.

1. Save/Restore of transformation in Graphics2D. Is this way:

AffineTransform saved = g2d.getTransform();
...
g2d.setTransform(saved);

efficient???

2. Fill/Draw functions. I often use fill and draw functions for the same path. 
Can this somehow be optimized? In Qt there is only one call to 
QPainter::drawPath and it simultaneously uses current pen for outline and 
current brush for filling.

3. I didn't find Path2D.arcTo and used Path2D.append(new Arc2D.Double(...), 
true). Is this intended way to add arc to path?
[Message sent by forum member 'kamre' (kamre)]

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

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