Lines Matching defs:sg2d
49 private static XRPaints getXRPaint(SunGraphics2D sg2d) {
50 switch (sg2d.paintState) {
74 static boolean isValid(SunGraphics2D sg2d) {
75 XRPaints impl = getXRPaint(sg2d);
76 return (impl != null && impl.isPaintValid(sg2d));
79 static void setPaint(SunGraphics2D sg2d, Paint paint) {
80 XRPaints impl = getXRPaint(sg2d);
82 impl.setXRPaint(sg2d, paint);
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) {
120 AffineTransform at = (AffineTransform) sg2d.transform.clone();
144 boolean isPaintValid(SunGraphics2D sg2d) {
149 void setXRPaint(SunGraphics2D sg2d, Paint pt) {
159 at.preConcatenate(sg2d.transform);
180 boolean isPaintValid(SunGraphics2D sg2d) {
181 RadialGradientPaint grad = (RadialGradientPaint) sg2d.paint;
186 void setXRPaint(SunGraphics2D sg2d, Paint pt) {
205 at.preConcatenate(sg2d.transform);
236 boolean isPaintValid(SunGraphics2D sg2d) {
237 TexturePaint paint = (TexturePaint) sg2d.paint;
239 XRSurfaceData dstData = (XRSurfaceData) sg2d.getDestSurface();
256 void setXRPaint(SunGraphics2D sg2d, Paint pt) {
260 SurfaceData dstData = sg2d.surfaceData;
273 AffineTransform at = (AffineTransform) sg2d.transform.clone();
284 x11SrcData.validateAsSource(at, XRUtils.RepeatNormal, XRUtils.ATransOpToXRQuality(sg2d.interpolationType));