< prev index next >
src/java.desktop/share/classes/sun/java2d/SurfaceData.java
Print this page
*** 1057,1070 ****
* 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;
}
}
--- 1057,1080 ----
* responsible for returning the appropriate object.
*/
public abstract Object getDestination();
/**
! * Returns default horizontal 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 double getDefaultScaleX() {
! return 1;
! }
!
! /**
! * Returns default vertical 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 double getDefaultScaleY() {
return 1;
}
}
< prev index next >