/openjdk7/jdk/src/solaris/classes/sun/java2d/jules/ |
H A D | JulesShapePipe.java | 47 private final void validateSurface(SunGraphics2D sg2d) { argument 48 XRSurfaceData xrsd = (XRSurfaceData) sg2d.surfaceData; 49 xrsd.validateAsDestination(sg2d, sg2d.getCompClip()); 50 xrsd.maskBuffer.validateCompositeState(sg2d.composite, sg2d.transform, 51 sg2d.paint, sg2d); 54 public void draw(SunGraphics2D sg2d, Shape s) { argument 57 validateSurface(sg2d); 86 fill(SunGraphics2D sg2d, Shape s) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | LoopPipe.java | 57 public void drawLine(SunGraphics2D sg2d, argument 60 int tX = sg2d.transX; 61 int tY = sg2d.transY; 62 sg2d.loops.drawLineLoop.DrawLine(sg2d, sg2d.getSurfaceData(), 67 public void drawRect(SunGraphics2D sg2d, argument 70 sg2d.loops.drawRectLoop.DrawRect(sg2d, sg2d 76 drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 85 drawOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 91 drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 100 drawPolyline(SunGraphics2D sg2d, int xPoints[], int yPoints[], int nPoints) argument 112 drawPolygon(SunGraphics2D sg2d, int xPoints[], int yPoints[], int nPoints) argument 124 fillRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument 133 fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 142 fillOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 148 fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 157 fillPolygon(SunGraphics2D sg2d, int xPoints[], int yPoints[], int nPoints) argument 173 draw(SunGraphics2D sg2d, Shape s) argument 231 getFillSSI(SunGraphics2D sg2d) argument 264 getStrokeSpans(SunGraphics2D sg2d, Shape s) argument 291 fill(SunGraphics2D sg2d, Shape s) argument 328 fillSpans(SunGraphics2D sg2d, SpanIterator si) argument 354 fillParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2) argument 366 drawParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2, double lw1, double lw2) argument [all...] |
H A D | AATextRenderer.java | 40 protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) { argument 41 sg2d.loops.drawGlyphListAALoop.DrawGlyphListAA(sg2d, sg2d.surfaceData,
|
H A D | LCDTextRenderer.java | 40 protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) { argument 41 sg2d.loops.drawGlyphListLCDLoop. 42 DrawGlyphListLCD(sg2d, sg2d.surfaceData, gl);
|
H A D | SolidTextRenderer.java | 41 protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) { argument 42 sg2d.loops.drawGlyphListLoop.DrawGlyphList(sg2d, sg2d.surfaceData, gl);
|
H A D | GlyphListLoopPipe.java | 42 protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl, argument 46 sg2d.loops.drawGlyphListLoop. 47 DrawGlyphList(sg2d, sg2d.surfaceData, gl); 50 sg2d.loops.drawGlyphListAALoop. 51 DrawGlyphListAA(sg2d, sg2d.surfaceData, gl); 55 sg2d.loops.drawGlyphListLCDLoop. 56 DrawGlyphListLCD(sg2d,sg2d [all...] |
H A D | GlyphListPipe.java | 47 public void drawString(SunGraphics2D sg2d, String s, argument 50 FontInfo info = sg2d.getFontInfo(); 52 SurfaceData.outlineTextRenderer.drawString(sg2d, s, x, y); 57 if (sg2d.transformState >= sg2d.TRANSFORM_TRANSLATESCALE) { 59 sg2d.transform.transform(origin, 0, origin, 0, 1); 63 devx = (float)(x + info.originX + sg2d.transX); 64 devy = (float)(y + info.originY + sg2d.transY); 72 drawGlyphList(sg2d, gl); 76 TextLayout tl = new TextLayout(s, sg2d 82 drawChars(SunGraphics2D sg2d, char data[], int offset, int length, int ix, int iy) argument 116 drawGlyphVector(SunGraphics2D sg2d, GlyphVector gv, float x, float y) argument 141 drawGlyphList(SunGraphics2D sg2d, GlyphList gl) argument 143 drawGlyphList(SunGraphics2D sg2d, GlyphList gl, int aaHint) argument [all...] |
H A D | BufferedRenderPipe.java | 83 protected abstract void validateContext(SunGraphics2D sg2d); argument 84 protected abstract void validateContextAA(SunGraphics2D sg2d); argument 86 public void drawLine(SunGraphics2D sg2d, argument 89 int transx = sg2d.transX; 90 int transy = sg2d.transY; 93 validateContext(sg2d); 105 public void drawRect(SunGraphics2D sg2d, argument 110 validateContext(sg2d); 113 buf.putInt(x + sg2d.transX); 114 buf.putInt(y + sg2d 122 fillRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument 139 drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 147 fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 155 drawOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 161 fillOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 167 drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 176 fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 185 drawPoly(final SunGraphics2D sg2d, final int[] xPoints, final int[] yPoints, final int nPoints, final boolean isClosed) argument 246 drawPolyline(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints) argument 253 drawPolygon(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints) argument 260 fillPolygon(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints) argument 280 validate(SunGraphics2D sg2d) argument 360 drawPath(SunGraphics2D sg2d, Path2D.Float p2df, int transx, int transy) argument 373 fillPath(SunGraphics2D sg2d, Path2D.Float p2df, int transx, int transy) argument 393 fillSpans(SunGraphics2D sg2d, SpanIterator si, int transx, int transy) argument 410 fillParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2) argument 433 drawParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2, double lw1, double lw2) argument 460 fillParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2) argument 483 drawParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2, double lw1, double lw2) argument 510 draw(SunGraphics2D sg2d, Shape s) argument 547 fill(SunGraphics2D sg2d, Shape s) argument [all...] |
H A D | PixelToParallelogramConverter.java | 77 public void drawLine(SunGraphics2D sg2d, argument 80 if (!drawGeneralLine(sg2d, x1, y1, x2, y2)) { 81 super.drawLine(sg2d, x1, y1, x2, y2); 85 public void drawRect(SunGraphics2D sg2d, argument 89 if (sg2d.strokeState < SunGraphics2D.STROKE_CUSTOM) { 90 BasicStroke bs = ((BasicStroke) sg2d.stroke); 96 drawRectangle(sg2d, x, y, w, h, lw); 103 drawLine(sg2d, x, y, x+w, y+h); 107 super.drawRect(sg2d, x, y, w, h); 111 public void fillRect(SunGraphics2D sg2d, argument 119 draw(SunGraphics2D sg2d, Shape s) argument 151 fill(SunGraphics2D sg2d, Shape s) argument 177 drawGeneralLine(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2) argument 292 fillRectangle(SunGraphics2D sg2d, double rx, double ry, double rw, double rh) argument 326 drawRectangle(SunGraphics2D sg2d, double rx, double ry, double rw, double rh, double lw) argument 388 fillOuterParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double px, double py, double dx1, double dy1, double dx2, double dy2, double len1, double len2, double lw1, double lw2) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/ |
H A D | XRRenderer.java | 64 private final void validateSurface(SunGraphics2D sg2d) { argument 65 XRSurfaceData xrsd = (XRSurfaceData) sg2d.surfaceData; 66 xrsd.validateAsDestination(sg2d, sg2d.getCompClip()); 67 xrsd.maskBuffer.validateCompositeState(sg2d.composite, sg2d.transform, 68 sg2d.paint, sg2d); 71 public void drawLine(SunGraphics2D sg2d, int x1, int y1, int x2, int y2) { argument 75 validateSurface(sg2d); 89 drawRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument 94 drawPolyline(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 107 drawPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 112 fillRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument 131 fillPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 136 drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 143 fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 150 drawOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 155 fillOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 160 drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 167 fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 186 validate(SunGraphics2D sg2d) argument 206 drawPath(SunGraphics2D sg2d, Path2D.Float p2df, int transx, int transy) argument 219 fillPath(SunGraphics2D sg2d, Path2D.Float p2df, int transx, int transy) argument 232 fillSpans(SunGraphics2D sg2d, SpanIterator si, int transx, int transy) argument 250 draw(SunGraphics2D sg2d, Shape s) argument 280 fill(SunGraphics2D sg2d, Shape s) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/java2d/windows/ |
H A D | GDIRenderer.java | 53 public void drawLine(SunGraphics2D sg2d, argument 56 int transx = sg2d.transX; 57 int transy = sg2d.transY; 59 doDrawLine((GDIWindowSurfaceData)sg2d.surfaceData, 60 sg2d.getCompClip(), sg2d.composite, sg2d.eargb, 63 throw new InvalidPipeException("wrong surface data type: " + sg2d.surfaceData); 71 public void drawRect(SunGraphics2D sg2d, argument 75 doDrawRect((GDIWindowSurfaceData)sg2d 88 drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 106 drawOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 123 drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 143 drawPolyline(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 156 drawPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 173 fillRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument 190 fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 208 fillOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 225 fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 245 fillPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 263 doShape(SunGraphics2D sg2d, Shape s, boolean isfill) argument 293 doFillSpans(SunGraphics2D sg2d, SpanIterator si) argument 310 draw(SunGraphics2D sg2d, Shape s) argument 325 fill(SunGraphics2D sg2d, Shape s) argument [all...] |
H A D | GDIWindowSurfaceData.java | 154 public void validatePipe(SunGraphics2D sg2d) { argument 155 if (sg2d.antialiasHint != SunHints.INTVAL_ANTIALIAS_ON && 156 sg2d.paintState <= sg2d.PAINT_ALPHACOLOR && 157 (sg2d.compositeState <= sg2d.COMP_ISCOPY || 158 sg2d.compositeState == sg2d.COMP_XOR)) 160 if (sg2d.clipState == sg2d 222 getRenderLoops(SunGraphics2D sg2d) argument 294 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/ |
H A D | D3DRenderer.java | 47 protected void validateContext(SunGraphics2D sg2d) { argument 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) { argument 67 dstData = (D3DSurfaceData)sg2d 76 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument 149 validateContext(SunGraphics2D sg2d) argument 152 drawLine(SunGraphics2D sg2d, int x1, int y1, int x2, int y2) argument 158 drawRect(SunGraphics2D sg2d, int x, int y, int w, int h) argument 162 drawPoly(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints, boolean isClosed) argument 169 fillRect(SunGraphics2D sg2d, int x, int y, int w, int h) argument 173 drawPath(SunGraphics2D sg2d, Path2D.Float p2df, int transx, int transy) argument 179 fillPath(SunGraphics2D sg2d, Path2D.Float p2df, int transx, int transy) argument 185 fillSpans(SunGraphics2D sg2d, SpanIterator si, int transx, int transy) argument 191 fillParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2) argument 203 drawParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2, double lw1, double lw2) argument 216 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument [all...] |
H A D | D3DPaints.java | 64 static boolean isValid(SunGraphics2D sg2d) { argument 65 D3DPaints impl = impls.get(sg2d.paintState); 66 return (impl != null && impl.isPaintValid(sg2d)); 74 abstract boolean isPaintValid(SunGraphics2D sg2d); argument 88 boolean isPaintValid(SunGraphics2D sg2d) { argument 89 D3DSurfaceData dstData = (D3DSurfaceData)sg2d.surfaceData; 112 public boolean isPaintValid(SunGraphics2D sg2d) { argument 113 TexturePaint paint = (TexturePaint)sg2d.paint; 114 D3DSurfaceData dstData = (D3DSurfaceData)sg2d.surfaceData; 134 dstData.getSourceSurfaceData(bi, sg2d 183 isPaintValid(SunGraphics2D sg2d) argument 207 isPaintValid(SunGraphics2D sg2d) argument [all...] |
H A D | D3DTextRenderer.java | 49 protected void validateContext(SunGraphics2D sg2d, Composite comp) { argument 51 D3DSurfaceData d3dDst = (D3DSurfaceData)sg2d.surfaceData; 53 sg2d.getCompClip(), comp, 54 null, sg2d.paint, sg2d, 66 protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) { argument 68 super.drawGlyphList(sg2d, gl);
|
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/ |
H A D | OGLRenderer.java | 46 protected void validateContext(SunGraphics2D sg2d) { argument 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) { argument 66 dstData = (OGLSurfaceData)sg2d 75 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument 148 validateContext(SunGraphics2D sg2d) argument 151 drawLine(SunGraphics2D sg2d, int x1, int y1, int x2, int y2) argument 157 drawRect(SunGraphics2D sg2d, int x, int y, int w, int h) argument 161 drawPoly(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints, boolean isClosed) argument 168 fillRect(SunGraphics2D sg2d, int x, int y, int w, int h) argument 172 drawPath(SunGraphics2D sg2d, Path2D.Float p2df, int transx, int transy) argument 178 fillPath(SunGraphics2D sg2d, Path2D.Float p2df, int transx, int transy) argument 184 fillSpans(SunGraphics2D sg2d, SpanIterator si, int transx, int transy) argument 190 fillParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2) argument 202 drawParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2, double lw1, double lw2) argument 215 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument [all...] |
H A D | OGLSurfaceData.java | 411 public boolean canRenderLCDText(SunGraphics2D sg2d) { argument 414 sg2d.compositeState <= SunGraphics2D.COMP_ISCOPY && 415 sg2d.paintState <= SunGraphics2D.PAINT_OPAQUECOLOR && 416 sg2d.surfaceData.getTransparency() == Transparency.OPAQUE; 419 public void validatePipe(SunGraphics2D sg2d) { argument 431 (sg2d.compositeState <= sg2d.COMP_ISCOPY && 432 sg2d.paintState <= sg2d.PAINT_ALPHACOLOR) || 435 (sg2d 526 getMaskFill(SunGraphics2D sg2d) argument 548 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument [all...] |
/openjdk7/jdk/test/java/awt/Graphics2D/TransformSetGet/ |
H A D | TransformSetGet.java | 45 final SunGraphics2D sg2d = (SunGraphics2D) vi.createGraphics(); 47 sg2d.constrain(0, 61, 100, 100); 48 final AffineTransform expected = sg2d.cloneTransform(); 49 sg2d.setTransform(sg2d.getTransform()); 50 final AffineTransform actual = sg2d.cloneTransform(); 51 sg2d.dispose();
|
/openjdk7/jdk/src/solaris/classes/sun/java2d/x11/ |
H A D | X11Renderer.java | 57 private final long validate(SunGraphics2D sg2d) { argument 73 // sg2d, so we have to protect against it in native code. 75 X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData; 76 return x11sd.getRenderGC(sg2d.getCompClip(), 77 sg2d.compositeState, sg2d.composite, 78 sg2d.pixel); 84 public void drawLine(SunGraphics2D sg2d, int x1, int y1, int x2, int y2) { argument 87 long xgc = validate(sg2d); 88 int transx = sg2d 100 drawRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument 117 drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 135 drawOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 152 drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 172 drawPolyline(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 187 drawPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 205 fillRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument 222 fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 240 fillOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 257 fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 277 fillPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 295 XDoPath(SunGraphics2D sg2d, long pXSData, long xgc, int transX, int transY, Path2D.Float p2df, boolean isFill) argument 299 doPath(SunGraphics2D sg2d, Shape s, boolean isFill) argument 325 draw(SunGraphics2D sg2d, Shape s) argument 362 fill(SunGraphics2D sg2d, Shape s) argument 464 XDoPath(SunGraphics2D sg2d, long pXSData, long xgc, int transX, int transY, Path2D.Float p2df, boolean isFill) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/ |
H A D | SurfaceData.java | 503 public boolean canRenderLCDText(SunGraphics2D sg2d) { argument 505 if (sg2d.compositeState <= SunGraphics2D.COMP_ISCOPY && 506 sg2d.paintState <= SunGraphics2D.PAINT_ALPHACOLOR && 507 sg2d.clipState <= SunGraphics2D.CLIP_RECTANGULAR && 508 sg2d.surfaceData.getTransparency() == Transparency.OPAQUE) 522 public boolean canRenderParallelograms(SunGraphics2D sg2d) { argument 523 if (sg2d.paintState <= sg2d.PAINT_ALPHACOLOR) { 524 if (sg2d.compositeState == sg2d 552 validatePipe(SunGraphics2D sg2d) argument 735 getTextPipe(SunGraphics2D sg2d, boolean aaHintIsOn) argument 782 getPaintSurfaceType(SunGraphics2D sg2d) argument 818 getFillCompositeType(SunGraphics2D sg2d) argument 838 getMaskFill(SunGraphics2D sg2d) argument 852 getRenderLoops(SunGraphics2D sg2d) argument 1043 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument [all...] |
H A D | NullSurfaceData.java | 68 public void validatePipe(SunGraphics2D sg2d) { argument 69 sg2d.drawpipe = nullpipe; 70 sg2d.fillpipe = nullpipe; 71 sg2d.shapepipe = nullpipe; 72 sg2d.textpipe = nullpipe; 73 sg2d.imagepipe = nullpipe; 147 public boolean copyArea(SunGraphics2D sg2d, argument
|
/openjdk7/jdk/src/macosx/classes/sun/java2d/ |
H A D | CompositeCRenderer.java | 52 public synchronized void drawLine(SunGraphics2D sg2d, int x1, int y1, int x2, int y2) { argument 56 draw(sg2d, line); 59 public synchronized void drawRect(SunGraphics2D sg2d, int x, int y, int width, int height) { argument 63 draw(sg2d, rectangle); 66 public synchronized void drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) { argument 70 draw(sg2d, roundrectangle); 73 public synchronized void drawOval(SunGraphics2D sg2d, int x, int y, int width, int height) { argument 77 draw(sg2d, ellipse); 80 public synchronized void drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) { argument 84 draw(sg2d, ar 87 drawPolyline(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 91 drawPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 95 fillRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument 102 fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 109 fillOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 116 fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 123 fillPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 127 doPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints, boolean ispolygon, boolean isfill) argument 143 draw(SunGraphics2D sg2d, Shape shape) argument 147 fill(SunGraphics2D sg2d, Shape shape) argument 151 doShape(SunGraphics2D sg2d, OSXSurfaceData surfaceData, Shape shape, boolean isfill) argument 195 drawString(SunGraphics2D sg2d, String str, double x, double y) argument 199 drawChars(SunGraphics2D sg2d, char data[], int offset, int length, int x, int y) argument 203 drawGlyphVector(SunGraphics2D sg2d, GlyphVector glyphVector, double x, double y) argument 207 drawGlyphVector(SunGraphics2D sg2d, GlyphVector glyphVector, float x, float y) argument 245 blitImage(SunGraphics2D sg2d, Image img, boolean fliph, boolean flipv, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, Color bgColor) argument 302 padBounds(SunGraphics2D sg2d, Shape shape) argument 329 clipBounds(SunGraphics2D sg2d, Rectangle2D bounds) argument 348 getSurfacePixels(SunGraphics2D sg2d, OSXSurfaceData surfaceData, int x, int y, int w, int h) argument 356 composite(SunGraphics2D sg2d, OSXSurfaceData surfaceData, BufferedImage srcPixels, Rectangle2D compositingBounds) argument [all...] |
H A D | CRenderer.java | 48 public void drawLine(SunGraphics2D sg2d, int x1, int y1, int x2, int y2) { argument 49 drawLine(sg2d, (float) x1, (float) y1, (float) x2, (float) y2); 54 public void drawLine(SunGraphics2D sg2d, float x1, float y1, float x2, float y2) { argument 55 OSXSurfaceData surfaceData = (OSXSurfaceData) sg2d.getSurfaceData(); 56 if ((sg2d.strokeState != SunGraphics2D.STROKE_CUSTOM) && (OSXSurfaceData.IsSimpleColor(sg2d.paint))) { 57 surfaceData.doLine(this, sg2d, x1, y1, x2, y2); 68 drawfillShape(sg2d, sg2d.stroke.createStrokedShape(lineToShape), true, true); 75 public void drawRect(SunGraphics2D sg2d, in argument 81 drawRect(SunGraphics2D sg2d, float x, float y, float width, float height) argument 102 fillRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument 106 fillRect(SunGraphics2D sg2d, float x, float y, float width, float height) argument 115 drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 121 drawRoundRect(SunGraphics2D sg2d, float x, float y, float width, float height, float arcWidth, float arcHeight) argument 142 fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 146 fillRoundRect(SunGraphics2D sg2d, float x, float y, float width, float height, float arcWidth, float arcHeight) argument 154 drawOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 160 drawOval(SunGraphics2D sg2d, float x, float y, float width, float height) argument 181 fillOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 185 fillOval(SunGraphics2D sg2d, float x, float y, float width, float height) argument 193 drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 199 drawArc(SunGraphics2D sg2d, float x, float y, float width, float height, float startAngle, float arcAngle, int type) argument 220 fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 224 fillArc(SunGraphics2D sg2d, float x, float y, float width, float height, float startAngle, float arcAngle, int type) argument 233 drawPolyline(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 247 drawPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 262 fillPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument 269 drawfillShape(SunGraphics2D sg2d, Shape s, boolean isfill, boolean shouldApplyOffset) argument 377 draw(SunGraphics2D sg2d, Shape s) argument 386 fill(SunGraphics2D sg2d, Shape s) argument 393 scaleImage(SunGraphics2D sg2d, Image img, int x, int y, int width, int height, Color bgColor) argument 405 scaleImage(SunGraphics2D sg2d, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor) argument 458 blitImage(SunGraphics2D sg2d, Image img, boolean fliph, boolean flipv, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, Color bgColor) argument 466 copyImage(SunGraphics2D sg2d, Image img, int dx, int dy, Color bgColor) argument 478 copyImage(SunGraphics2D sg2d, Image img, int dx, int dy, int sx, int sy, int width, int height, Color bgColor) argument 482 transformImage(SunGraphics2D sg2d, Image img, int x, int y, BufferedImageOp op, AffineTransform xf, Color bgColor) argument 530 copyImage(SunGraphics2D sg2d, Image img, int x, int y, Color bgColor, ImageObserver observer) argument 542 copyImage(SunGraphics2D sg2d, Image img, int dx, int dy, int sx, int sy, int width, int height, Color bgColor, ImageObserver observer) argument 554 scaleImage(SunGraphics2D sg2d, Image img, int x, int y, int width, int height, Color bgColor, ImageObserver observer) argument 566 scaleImage(SunGraphics2D sg2d, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor, ImageObserver observer) argument 578 transformImage(SunGraphics2D sg2d, Image img, AffineTransform atfm, ImageObserver observer) argument 593 transformImage(SunGraphics2D sg2d, BufferedImage img, BufferedImageOp op, int x, int y) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/font/ |
H A D | X11TextRenderer.java | 50 public void drawGlyphVector(SunGraphics2D sg2d, GlyphVector g, argument 54 FontInfo info = sg2d.getGVFontInfo(g.getFont(), frc); 57 super.drawGlyphVector(sg2d, g, x, y); 60 sg2d.surfaceData.aaTextRenderer.drawGlyphVector(sg2d, g, x, y); 64 sg2d.surfaceData.lcdTextRenderer.drawGlyphVector(sg2d, g, x, y); 73 protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) { argument 76 X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData; 77 Region clip = sg2d [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CTextPipe.java | 44 long getNativeStrikePtr(final SunGraphics2D sg2d) { argument 45 final FontStrike fontStrike = sg2d.getFontInfo().fontStrike; 50 void drawGlyphVectorAsShape(final SunGraphics2D sg2d, final GlyphVector gv, final float x, final float y) { argument 54 sg2d.fill(glyph); 58 void drawTextAsShape(final SunGraphics2D sg2d, final String s, final double x, final double y) { argument 59 final Object oldAliasingHint = sg2d.getRenderingHint(SunHints.KEY_ANTIALIASING); 60 final FontRenderContext frc = sg2d.getFontRenderContext(); 61 sg2d.setRenderingHint(SunHints.KEY_ANTIALIASING, (frc.isAntiAliased() ? SunHints.VALUE_ANTIALIAS_ON : SunHints.VALUE_ANTIALIAS_OFF)); 63 final Font font = sg2d.getFont(); 68 sg2d 74 drawString(final SunGraphics2D sg2d, final String s, final double x, final double y) argument 84 drawGlyphVector(final SunGraphics2D sg2d, final GlyphVector gV, final float x, final float y) argument 98 drawChars(final SunGraphics2D sg2d, final char data[], final int offset, final int length, final int x, final int y) argument [all...] |