[OpenJDK 2D-Dev] [9] Review Request: 8032219 [macosx] Scrollbars looks bad under retina in Motif and Metal L&F (original) (raw)

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Apr 4 13:37:24 UTC 2014


Hello. Please review the fix for jdk 9.

The problem became visible, when we draw a border across the component using drawLine, and expected that fillRect will clear a border of the component. This is incorrect, because in case of the scaled graphics(retina) some part of the line can be placed outside of the rectangles bounds. See additional information here: https://bugs.openjdk.java.net/browse/JDK-8011764

In the fix new methods were added to draw the lines using fillRect.

Bug: https://bugs.openjdk.java.net/browse/JDK-8032219 Webrev can be found at: http://cr.openjdk.java.net/~serb/8032219/webrev.03

-- Best regards, Sergey.



More information about the 2d-dev mailing list