[OpenJDK Rasterizer] Antialiased horizontal or vertical lines.
Jim Graham
james.graham at oracle.com
Fri Jun 18 17:00:28 PDT 2010
The Ductus pipeline will do the same thing with STROKE_PURE. It sounds
like maybe the Pisces pipeline doesn't support STROKE_NORMALIZE yet?
...jim
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 graphics-rasterizer-dev
mailing list