<AWT Dev> [9] Review request for 8069361 SunGraphics2D.getDefaultTransform() does not include scale factor

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Tue Apr 14 14:51:22 UTC 2015


Could you review the fix:
   bug: https://bugs.openjdk.java.net/browse/JDK-8069361
   webrev: http://cr.openjdk.java.net/~alexsch/8069361/webrev.00

   SunGraphics2D.getDefaultTransform() now returns transform which 
includes GraphicsConfiguration default transform.

   This can break a compatibility for applications which assumes that 
default Graphics2D transform is always identity
   and restore it as sg2d.setTransform(new AffineTransform()). However, 
this is not now true for HiDPI displays.


More information about the awt-dev mailing list