< prev index next >

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

Print this page

        

@@ -70,11 +70,12 @@
         throw new UnsupportedOperationException("not implemented");
     }
 
     @Override
     public AffineTransform getDefaultTransform() {
-        return new AffineTransform();
+        float scaleFactor = device.getScaleFactor();
+        return new AffineTransform(scaleFactor, 0, 0, scaleFactor, 0, 0);
     }
 
     @Override
     public CGraphicsDevice getDevice() {
         return device;
< prev index next >