[OpenJDK Rasterizer] Antialiased horizontal or vertical lines.
Denis Lila
dlila at redhat.com
Fri Jun 18 13:58:23 PDT 2010
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 509fix.patch
Type: text/x-patch
Size: 647 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/graphics-rasterizer-dev/attachments/20100618/6c8a0a73/attachment.bin
More information about the graphics-rasterizer-dev
mailing list