[OpenJDK 2D-Dev] [OpenJDK Rasterizer] Antialiased horizontal or vertical lines.
dlila at redhat.com
Mon Jun 21 15:12:29 UTC 2010
Pisces doesn't support any of the STROKE_CONTROL hints.
----- "Jim Graham" <james.graham at oracle.com> wrote:
> The Ductus pipeline will do the same thing with STROKE_PURE. It
> like maybe the Pisces pipeline doesn't support STROKE_NORMALIZE yet?
> Denis Lila wrote:
> > Hello.
> > I noticed that anti aliased horizontal and vertical lines are
> > not drawn properly. I've described the results (with pictures)
> > here: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=509
> > In the patch, I try shifting line coordinates by half a pixel as
> > soon as they're passed into Renderer.java:lineTo, and it seems to
> > fix it.
> > However, this seems a bit too easy, so if anyone can think of any
> > ways in which this fix breaks something, please let me know.
> > Thank you,
> > Denis.
More information about the 2d-dev