Re: [OpenJDK 2D-Dev] Fix for uniformly scaled dashed lines.

2010-06-22 Thread Denis Lila
Hello Jim. Sorry about the l. It was already there, and I wanted to change as little as possible. As for whether to compute the transformed dashes inside the while(true) or not... the main point of this patch was to fix a bug where zooming transforms weren't handled properly. The efficiency impr

Re: [OpenJDK 2D-Dev] Fix for drawing round endcaps on scaled lines.

2010-06-22 Thread Denis Lila
That's true. Well, if we're worried about the generated paths being verbose and taking long to process then the problem extends beyond just drawing round end caps. As far as I can see, whenever a path is drawn that doesn't consist only of straight lines (i.e. an ellipse), a flattening path iterat

Re: [OpenJDK 2D-Dev] Fix for drawing round endcaps on scaled lines.

2010-06-22 Thread Denis Lila
I also have two questions about computing a good bezier approximation to circle arcs. 1. Given the arc (1,0)->(cos(a),sin(a)) where 0 wrote: > That's true. > > Well, if we're worried about the generated paths being verbose > and taking long to process then the problem extends beyond just > drawi

Re: [OpenJDK 2D-Dev] 2 small xrender fixes

2010-06-22 Thread Phil Race
Clemens, I thought I sent this email last week but I just found a very patient thunderbird compose window :-( For the record, anyone with an openjdk user id should be able to upload webrevs to cr.openjdk.java.net. As to the fixes : The Jules one looks fine. I can create you a bug ID. The wh