[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    [OpenJDK 2D-Dev] Antialiased horizontal or vertical lines.
From:       dlila () redhat ! com (Denis Lila)
Date:       2010-06-18 20:58:23
Message-ID: 699181964.475631276894703930.JavaMail.root () zmail04 ! collab ! prod ! int ! phx2 ! redhat ! com
[Download RAW message or body]

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/2d-dev/attachments/20100618/6c8a0a73/attachment.bin 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic