[OpenJDK 2D-Dev] [OpenJDK Rasterizer] Antialiased horizontal or vertical lines.

Jim Graham james.graham at oracle.com
Sat Jun 19 00:00:28 UTC 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 2d-dev mailing list