--- old/src/share/classes/sun/java2d/SurfaceData.java 2013-04-08 16:14:42.511675000 +0400 +++ new/src/share/classes/sun/java2d/SurfaceData.java 2013-04-08 16:14:42.332664700 +0400 @@ -1057,4 +1057,14 @@ * responsible for returning the appropriate object. */ public abstract Object getDestination(); + + /** + * Returns default scale factor of the destination surface. Scale factor + * describes the mapping between virtual and physical coordinates of the + * SurfaceData. If the scale is 2 then virtual pixel coordinates need to be + * doubled for physical pixels. + */ + public int getDefaultScale() { + return 1; + } }