Hi Sergey, why we do not use Math.round() here? Region.java: 153 return (int) Math.floor(newv + 0.5);
Thank you, Denis. On 3/26/2013 7:33 PM, Sergey Bylokhov wrote:
Hello, Please review the fix for jdk 8. Change adds initial support of hidpi(mostly on 2d side). In the fix scale was added to the surface data/CGraphicsDevice /CGLLayer. This scale factor maps virtual coordinates to physical pixels. This change doesn't add support of hidpi to aqua l&f and doesn't add support of dynamic change of scale factor. Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8000629 Webrev can be found at: http://cr.openjdk.java.net/~serb/8000629/webrev.06 -- Best regards, Sergey.