Lines Matching defs:sg2d
47 protected void validateContext(SunGraphics2D sg2d) {
49 sg2d.paint.getTransparency() == Transparency.OPAQUE ?
53 dstData = (D3DSurfaceData)sg2d.surfaceData;
55 throw new InvalidPipeException("wrong surface data type: " + sg2d.surfaceData);
58 sg2d.getCompClip(), sg2d.composite,
59 null, sg2d.paint, sg2d, ctxflags);
63 protected void validateContextAA(SunGraphics2D sg2d) {
67 dstData = (D3DSurfaceData)sg2d.surfaceData;
69 throw new InvalidPipeException("wrong surface data type: " + sg2d.surfaceData);
72 sg2d.getCompClip(), sg2d.composite,
73 null, sg2d.paint, sg2d, ctxflags);
76 void copyArea(SunGraphics2D sg2d,
82 sg2d.surfaceData.getTransparency() == Transparency.OPAQUE ?
86 dstData = (D3DSurfaceData)sg2d.surfaceData;
88 throw new InvalidPipeException("wrong surface data type: " + sg2d.surfaceData);
91 sg2d.getCompClip(), sg2d.composite,
120 public void fillParallelogram(SunGraphics2D sg2d,
128 realpipe.fillParallelogram(sg2d,
132 public void drawParallelogram(SunGraphics2D sg2d,
141 realpipe.drawParallelogram(sg2d,
149 protected void validateContext(SunGraphics2D sg2d) {
150 d3dr.validateContext(sg2d);
152 public void drawLine(SunGraphics2D sg2d,
156 d3dr.drawLine(sg2d, x1, y1, x2, y2);
158 public void drawRect(SunGraphics2D sg2d, int x, int y, int w, int h) {
160 d3dr.drawRect(sg2d, x, y, w, h);
162 protected void drawPoly(SunGraphics2D sg2d,
167 d3dr.drawPoly(sg2d, xPoints, yPoints, nPoints, isClosed);
169 public void fillRect(SunGraphics2D sg2d, int x, int y, int w, int h) {
171 d3dr.fillRect(sg2d, x, y, w, h);
173 protected void drawPath(SunGraphics2D sg2d,
177 d3dr.drawPath(sg2d, p2df, transx, transy);
179 protected void fillPath(SunGraphics2D sg2d,
183 d3dr.fillPath(sg2d, p2df, transx, transy);
185 protected void fillSpans(SunGraphics2D sg2d, SpanIterator si,
189 d3dr.fillSpans(sg2d, si, transx, transy);
191 public void fillParallelogram(SunGraphics2D sg2d,
199 d3dr.fillParallelogram(sg2d,
203 public void drawParallelogram(SunGraphics2D sg2d,
212 d3dr.drawParallelogram(sg2d,
216 public void copyArea(SunGraphics2D sg2d,
220 d3dr.copyArea(sg2d, x, y, w, h, dx, dy);