jdk/src/java.desktop/macosx/classes/sun/java2d/OSXSurfaceData.java
changeset 28059 e576535359cc
parent 25859 3317bb8137f4
child 28237 af7e25275a82
equal deleted inserted replaced
28058:87940c838900 28059:e576535359cc
  1092 
  1092 
  1093         r3.setBounds(tx1, ty1, (int) tx2, (int) ty2);
  1093         r3.setBounds(tx1, ty1, (int) tx2, (int) ty2);
  1094     }
  1094     }
  1095 
  1095 
  1096     /**
  1096     /**
  1097      * Clips the copy area to the heavywieght bounds and returns the cliped rectangle. The tricky part here is the the
  1097      * Clips the copy area to the heavywieght bounds and returns the cliped rectangle. The tricky part here is the
  1098      * passed arguments x, y are in the coordinate space of the sg2d/lightweight comp. In order to do the clipping we
  1098      * passed arguments x, y are in the coordinate space of the sg2d/lightweight comp. In order to do the clipping we
  1099      * translate them to the coordinate space of the surface, and the returned clipped rectangle is in the coordinate
  1099      * translate them to the coordinate space of the surface, and the returned clipped rectangle is in the coordinate
  1100      * space of the surface.
  1100      * space of the surface.
  1101      */
  1101      */
  1102     protected Rectangle clipCopyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) {
  1102     protected Rectangle clipCopyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) {