Lines Matching refs:SunGraphics2D
49 private static XRPaints getXRPaint(SunGraphics2D sg2d) {
51 case SunGraphics2D.PAINT_GRADIENT:
54 case SunGraphics2D.PAINT_LIN_GRADIENT:
57 case SunGraphics2D.PAINT_RAD_GRADIENT:
60 case SunGraphics2D.PAINT_TEXTURE:
70 * the provided SunGraphics2D object. If no implementation can be found, or
72 * SunGraphics2D, this method returns false; otherwise, returns true.
74 static boolean isValid(SunGraphics2D sg2d) {
79 static void setPaint(SunGraphics2D sg2d, Paint paint) {
89 * SunGraphics2D instance; otherwise returns false.
91 abstract boolean isPaintValid(SunGraphics2D sg2d);
93 abstract void setXRPaint(SunGraphics2D sg2d, Paint paint);
104 boolean isPaintValid(SunGraphics2D sg2d) {
108 void setXRPaint(SunGraphics2D sg2d, Paint pt) {
144 boolean isPaintValid(SunGraphics2D sg2d) {
149 void setXRPaint(SunGraphics2D sg2d, Paint pt) {
180 boolean isPaintValid(SunGraphics2D sg2d) {
186 void setXRPaint(SunGraphics2D sg2d, Paint pt) {
236 boolean isPaintValid(SunGraphics2D sg2d) {
241 SurfaceData srcData = dstData.getSourceSurfaceData(bi, SunGraphics2D.TRANSFORM_ISIDENT, CompositeType.SrcOver, null);
246 srcData = dstData.getSourceSurfaceData(bi, SunGraphics2D.TRANSFORM_ISIDENT, CompositeType.SrcOver, null);
256 void setXRPaint(SunGraphics2D sg2d, Paint pt) {
261 SurfaceData srcData = dstData.getSourceSurfaceData(bi, SunGraphics2D.TRANSFORM_ISIDENT, CompositeType.SrcOver, null);
265 srcData = dstData.getSourceSurfaceData(paint.getImage(), SunGraphics2D.TRANSFORM_ISIDENT, CompositeType.SrcOver, null);