Thanks for you great answer Jim! My frustration comes from creating a middle layer API (a Component structure with advanced shape construction and painting). When I create end user things I haven't generally got any problems with these kind of things, as I can compensate on an issue for issue basis. It's just when I try to guarantee a certain quality of the visuals of my API that I do get these problems.
As you rightfully point out your implementation isn't flawed or buggy when looking at the details. Yet, looking at the specification above the details (the API contract), a circle should be round and a drawn box should be the same size as a filled box. At least IMO. One could say that we are both right, but on different levels. Would it be possible to have a new STROKE_INSIDE (and possibly STROKE_OUTSIDE)? This is how you can specify the stroke in for instance Photoshop. That would solve everything in a good way. How much work would it be to implement that kind of stroke? Does OpenGL and DirectDraw have these kind of strokes or would you have to punt to the Java software rendering pipeline if you implemented such a stroke? Also, would it be much trouble to expose a setting of contrast for anti aliased draws just like you do for LCD text? That way it would be possible to tweak hi fidelity graphics creation in a quite important way (again, IMO). Note that my intention here is just to get as good rendering with Java2D as possible. I think Java2D is a tremendous API and as I've heard better than any of the competing APIs out there. That doesn't mean that one should try to make it even better since the other APIs are doing their best to catch up! :) Cheers, [Message sent by forum member 'mikaelgrev' (mikaelgrev)] http://forums.java.net/jive/thread.jspa?messageID=225211 =========================================================================== 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".