Lines Matching defs:sg2d
46 protected void validateContext(SunGraphics2D sg2d) {
48 sg2d.paint.getTransparency() == Transparency.OPAQUE ?
52 dstData = (OGLSurfaceData)sg2d.surfaceData;
54 throw new InvalidPipeException("wrong surface data type: " + sg2d.surfaceData);
57 sg2d.getCompClip(), sg2d.composite,
58 null, sg2d.paint, sg2d, ctxflags);
62 protected void validateContextAA(SunGraphics2D sg2d) {
66 dstData = (OGLSurfaceData)sg2d.surfaceData;
68 throw new InvalidPipeException("wrong surface data type: " + sg2d.surfaceData);
71 sg2d.getCompClip(), sg2d.composite,
72 null, sg2d.paint, sg2d, ctxflags);
75 void copyArea(SunGraphics2D sg2d,
81 sg2d.surfaceData.getTransparency() == Transparency.OPAQUE ?
85 dstData = (OGLSurfaceData)sg2d.surfaceData;
87 throw new InvalidPipeException("wrong surface data type: " + sg2d.surfaceData);
90 sg2d.getCompClip(), sg2d.composite,
120 public void fillParallelogram(SunGraphics2D sg2d,
128 realpipe.fillParallelogram(sg2d,
132 public void drawParallelogram(SunGraphics2D sg2d,
141 realpipe.drawParallelogram(sg2d,
148 protected void validateContext(SunGraphics2D sg2d) {
149 oglr.validateContext(sg2d);
151 public void drawLine(SunGraphics2D sg2d,
155 oglr.drawLine(sg2d, x1, y1, x2, y2);
157 public void drawRect(SunGraphics2D sg2d, int x, int y, int w, int h) {
159 oglr.drawRect(sg2d, x, y, w, h);
161 protected void drawPoly(SunGraphics2D sg2d,
166 oglr.drawPoly(sg2d, xPoints, yPoints, nPoints, isClosed);
168 public void fillRect(SunGraphics2D sg2d, int x, int y, int w, int h) {
170 oglr.fillRect(sg2d, x, y, w, h);
172 protected void drawPath(SunGraphics2D sg2d,
176 oglr.drawPath(sg2d, p2df, transx, transy);
178 protected void fillPath(SunGraphics2D sg2d,
182 oglr.fillPath(sg2d, p2df, transx, transy);
184 protected void fillSpans(SunGraphics2D sg2d, SpanIterator si,
188 oglr.fillSpans(sg2d, si, transx, transy);
190 public void fillParallelogram(SunGraphics2D sg2d,
198 oglr.fillParallelogram(sg2d,
202 public void drawParallelogram(SunGraphics2D sg2d,
211 oglr.drawParallelogram(sg2d,
215 public void copyArea(SunGraphics2D sg2d,
219 oglr.copyArea(sg2d, x, y, w, h, dx, dy);