< prev index next >

src/java.desktop/macosx/classes/sun/awt/CGraphicsConfig.java

Print this page

        

*** 70,80 **** throw new UnsupportedOperationException("not implemented"); } @Override public AffineTransform getDefaultTransform() { ! return new AffineTransform(); } @Override public CGraphicsDevice getDevice() { return device; --- 70,81 ---- throw new UnsupportedOperationException("not implemented"); } @Override public AffineTransform getDefaultTransform() { ! double scaleFactor = device.getScaleFactor(); ! return AffineTransform.getScaleInstance(scaleFactor, scaleFactor); } @Override public CGraphicsDevice getDevice() { return device;
< prev index next >