[OpenJDK 2D-Dev] X11 uniform scaled wide lines and dashed lines; STROKE_CONTROL in Pisces

Denis Lila dlila at redhat.com
Mon Dec 13 18:53:27 UTC 2010

Hi Jim.

> Woohoo!


> >> How often do we end up needing getTCloseTo in practice?
> >
> > It depends on the ratios of the lengths of the sides of the control
> > polygon. The closer they are to 1, the less we need it. I'm not
> sure
> > how to answer more precisely - for that I would need a
> representative
> > sample of curves drawn in practice.
> I was thinking of, say, when applied to a circle.  Does that get by 
> without needing getTCloseTo?

I tested it on a couple of quarter circles of greatly varying radii,
and surprisingly, it does get by without needing getTCloseTo (or its
equivalent, after your "flattening" proposal in your previous e-mail).

> Good job!

Well, thanks for all your help.

More information about the 2d-dev mailing list