/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | BufferedContext.java | 124 Paint paint, SunGraphics2D sg2d, 130 clip, comp, xform, paint, sg2d, flags); 174 Paint paint, SunGraphics2D sg2d, int flags) 275 } else if (sg2d != null && !sg2d.transform.equals(transform)) { 278 if (sg2d != null && txChanged) { 279 transform = new AffineTransform(sg2d.transform); 294 BufferedPaints.setPaint(rq, sg2d, paint, flags); 120 validateContext(AccelSurface srcData, AccelSurface dstData, Region clip, Composite comp, AffineTransform xform, Paint paint, SunGraphics2D sg2d, int flags) argument 171 validate(AccelSurface srcData, AccelSurface dstData, Region clip, Composite comp, AffineTransform xform, Paint paint, SunGraphics2D sg2d, int flags) argument
|
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 | 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...] |
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...] |
/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...] |
H A D | XRCompositeManager.java | 152 Paint paint, SunGraphics2D sg2d) { 169 if (sg2d != null && validatedPixel != sg2d.pixel) { 170 validatedPixel = sg2d.pixel; 176 if (paint != null && sg2d != null 177 && sg2d.paintState >= SunGraphics2D.PAINT_GRADIENT) { 178 XRPaints.setPaint(sg2d, paint); 151 validateCompositeState(Composite comp, AffineTransform xform, Paint paint, SunGraphics2D sg2d) argument
|
H A D | XRSurfaceData.java | 112 public void validatePipe(SunGraphics2D sg2d) { argument 120 if (sg2d.compositeState < SunGraphics2D.COMP_XOR && 121 (sg2d.paintState < SunGraphics2D.PAINT_TEXTURE || 122 sg2d.composite == null || 123 !(sg2d.composite instanceof AlphaComposite) || 124 ((AlphaComposite) sg2d.composite).getAlpha() == 1.0f)) 128 super.validatePipe(sg2d); 129 textpipe = sg2d.textpipe; 139 if (sg2d.antialiasHint != SunHints.INTVAL_ANTIALIAS_ON) { 140 if (sg2d 187 getMaskFill(SunGraphics2D sg2d) argument 196 getRenderLoops(SunGraphics2D sg2d) argument 328 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument 445 validateAsDestination(SunGraphics2D sg2d, Region clip) argument 659 validate(SunGraphics2D sg2d) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | BufImgSurfaceData.java | 326 public RenderLoops getRenderLoops(SunGraphics2D sg2d) { argument 327 if (sg2d.paintState <= sg2d.PAINT_ALPHACOLOR && 328 sg2d.compositeState <= sg2d.COMP_ISCOPY) 332 return super.getRenderLoops(sg2d);
|
/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 | OSXOffScreenSurfaceData.java | 477 public boolean copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) { argument 483 if (sg2d.transformState == SunGraphics2D.TRANSFORM_ANY_TRANSLATE || 484 sg2d.transformState == SunGraphics2D.TRANSFORM_INT_TRANSLATE) { 485 offsetX = (int) sg2d.transform.getTranslateX(); 486 offsetY = (int) sg2d.transform.getTranslateY(); 487 } else if (sg2d.transformState != SunGraphics2D.TRANSFORM_ISIDENT) { return false; } 491 Shape clip = sg2d.getClip(); 492 sg2d.setClip(getBounds()); 495 Rectangle clippedCopyAreaRect = clipCopyArea(sg2d, x, y, w, h, dx, dy); 503 // sg2d 526 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, BufferedImage dstImage) argument 540 xorSurfacePixels(SunGraphics2D sg2d, BufferedImage srcPixels, int x, int y, int w, int h, int colorXOR) 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...] |
H A D | OSXSurfaceData.java | 84 public void validatePipe(SunGraphics2D sg2d) { argument 86 if (sg2d.compositeState <= SunGraphics2D.COMP_ALPHA) { 91 sg2d.imagepipe = sQuartzPipe; 92 sg2d.drawpipe = sQuartzPipe; 93 sg2d.fillpipe = sQuartzPipe; 94 sg2d.shapepipe = sQuartzPipe; 95 sg2d.textpipe = sCocoaTextPipe; 97 setPipesToQuartzComposite(sg2d); 101 protected void setPipesToQuartzComposite(SunGraphics2D sg2d) { argument 110 sg2d 131 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, BufferedImage image) argument 133 xorSurfacePixels(SunGraphics2D sg2d, BufferedImage srcPixels, int x, int y, int w, int h, int colorXOR) argument 369 setUserBounds(SunGraphics2D sg2d, int x, int y, int width, int height) argument 403 setupClip(SunGraphics2D sg2d) argument 481 setupTransform(SunGraphics2D sg2d) argument 523 setupPaint(SunGraphics2D sg2d, int x, int y, int w, int h) argument 617 setupComposite(SunGraphics2D sg2d) argument 658 setupStroke(SunGraphics2D sg2d) argument 701 setupRenderingHints(SunGraphics2D sg2d) argument 750 setupGraphicsState(SunGraphics2D sg2d, int primitiveType) argument 754 setupGraphicsState(SunGraphics2D sg2d, int primitiveType, int x, int y, int w, int h) argument 760 setupGraphicsState(SunGraphics2D sg2d, int primitiveType, Font font, int x, int y, int w, int h) argument 803 isCustomPaint(SunGraphics2D sg2d) argument 905 doLine(CRenderer renderer, SunGraphics2D sg2d, float x1, float y1, float x2, float y2) argument 911 doRect(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, boolean isfill) argument 921 doRoundRect(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, float arcW, float arcH, boolean isfill) argument 931 doOval(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, boolean isfill) argument 941 doArc(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, float startAngle, float arcAngle, int type, boolean isfill) argument 952 doPolygon(CRenderer renderer, SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints, boolean ispolygon, boolean isfill) argument 985 drawfillShape(CRenderer renderer, SunGraphics2D sg2d, GeneralPath gp, boolean isfill, boolean shouldApplyOffset) argument 1010 blitImage(CRenderer renderer, SunGraphics2D sg2d, SurfaceData img, boolean fliph, boolean flipv, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, Color bgColor) argument 1033 drawString(CTextPipe renderer, SunGraphics2D sg2d, long nativeStrikePtr, String str, double x, double y) argument 1042 drawGlyphs(CTextPipe renderer, SunGraphics2D sg2d, long nativeStrikePtr, GlyphVector gv, float x, float y) argument 1048 drawUnicodes(CTextPipe renderer, SunGraphics2D sg2d, long nativeStrikePtr, char unicodes[], int offset, int length, float x, float y) argument 1100 clipCopyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument 1145 canRenderLCDText(SunGraphics2D sg2d) 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...] |
/openjdk7/jdk/src/share/native/sun/font/ |
H A D | DrawGlyphList.c | 171 jobject sg2d, jobject sData, 187 GrPrim_Sg2dGetCompInfo(env, sg2d, pPrim, &compInfo); 190 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds); 236 jobject sg2d, jobject sData, 254 GrPrim_Sg2dGetCompInfo(env, sg2d, pPrim, &compInfo); 257 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds); 309 jobject sg2d, jobject sData, jobject glyphlist) { 323 pixel = GrPrim_Sg2dGetPixel(env, sg2d); 324 color = GrPrim_Sg2dGetEaRGB(env, sg2d); 325 drawGlyphList(env, self, sg2d, sDat 170 drawGlyphList(JNIEnv *env, jobject self, jobject sg2d, jobject sData, GlyphBlitVector *gbv, jint pixel, jint color, NativePrimitive *pPrim, DrawGlyphListFunc *func) argument 235 drawGlyphListLCD(JNIEnv *env, jobject self, jobject sg2d, jobject sData, GlyphBlitVector *gbv, jint pixel, jint color, jboolean rgbOrder, int contrast, NativePrimitive *pPrim, DrawGlyphListLCDFunc *func) argument 307 Java_sun_java2d_loops_DrawGlyphList_DrawGlyphList(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jobject glyphlist) argument 337 Java_sun_java2d_loops_DrawGlyphListAA_DrawGlyphListAA(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jobject glyphlist) argument 365 Java_sun_java2d_loops_DrawGlyphListLCD_DrawGlyphListLCD(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jobject glyphlist) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/ |
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/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...] |
H A D | X11SurfaceData.java | 296 public void validatePipe(SunGraphics2D sg2d) { argument 297 if (sg2d.antialiasHint != SunHints.INTVAL_ANTIALIAS_ON && 298 sg2d.paintState <= sg2d.PAINT_ALPHACOLOR && 299 (sg2d.compositeState <= sg2d.COMP_ISCOPY || 300 sg2d.compositeState == sg2d.COMP_XOR)) 310 sg2d.drawpipe = lazypipe; 311 sg2d 400 getRenderLoops(SunGraphics2D sg2d) argument 481 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument 822 validate(SunGraphics2D sg2d) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/ |
H A D | D3DSurfaceData.java | 515 public boolean canRenderLCDText(SunGraphics2D sg2d) { argument 518 sg2d.compositeState <= SunGraphics2D.COMP_ISCOPY && 519 sg2d.paintState <= SunGraphics2D.PAINT_OPAQUECOLOR && 520 sg2d.surfaceData.getTransparency() == Transparency.OPAQUE; 538 public void validatePipe(SunGraphics2D sg2d) { argument 545 if (sg2d.compositeState >= sg2d.COMP_XOR) { 546 super.validatePipe(sg2d); 547 sg2d.imagepipe = d3dImagePipe; 560 (sg2d 655 getMaskFill(SunGraphics2D sg2d) argument 678 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | MaskFill.c | 42 jobject sg2d, jobject sData, jobject comp, 75 jint color = GrPrim_Sg2dGetEaRGB(env, sg2d); 676 jobject sg2d, jobject sData, jobject comp, 714 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds); 732 jint color = GrPrim_Sg2dGetEaRGB(env, sg2d); 941 jobject sg2d, jobject sData, jobject comp, 982 sg2d, sData, comp, 1006 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds); 1024 jint color = GrPrim_Sg2dGetEaRGB(env, sg2d); 40 Java_sun_java2d_loops_MaskFill_MaskFill(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jobject comp, jint x, jint y, jint w, jint h, jbyteArray maskArray, jint maskoff, jint maskscan) argument 674 Java_sun_java2d_loops_MaskFill_FillAAPgram(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jobject comp, jdouble x0, jdouble y0, jdouble dx1, jdouble dy1, jdouble dx2, jdouble dy2) argument 939 Java_sun_java2d_loops_MaskFill_DrawAAPgram(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jobject comp, jdouble x0, jdouble y0, jdouble dx1, jdouble dy1, jdouble dx2, jdouble dy2, jdouble lw1, jdouble lw2) argument
|
H A D | GraphicsPrimitiveMgr.c | 453 GrPrim_Sg2dGetCompInfo(JNIEnv *env, jobject sg2d, argument 458 comp = (*env)->GetObjectField(env, sg2d, compositeID); 477 GrPrim_Sg2dGetClip(JNIEnv *env, jobject sg2d, SurfaceDataBounds *bounds) argument 479 jobject clip = (*env)->GetObjectField(env, sg2d, clipRegionID); 484 GrPrim_Sg2dGetPixel(JNIEnv *env, jobject sg2d) argument 486 return (*env)->GetIntField(env, sg2d, pixelID); 490 GrPrim_Sg2dGetEaRGB(JNIEnv *env, jobject sg2d) argument 492 return (*env)->GetIntField(env, sg2d, eargbID); 496 GrPrim_Sg2dGetLCDTextContrast(JNIEnv *env, jobject sg2d) argument 498 return (*env)->GetIntField(env, sg2d, lcdTextContrastI [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/loops/ |
H A D | GeneralRenderer.java | 325 SunGraphics2D sg2d, SurfaceData sData, 333 Region r = sg2d.getCompClip().getBoundsIntersectionXYXY(x, y, x2, y2); 612 static PixelWriter createSolidPixelWriter(SunGraphics2D sg2d, argument 616 Object srcPixel = dstCM.getDataElements(sg2d.eargb, null); 621 static PixelWriter createXorPixelWriter(SunGraphics2D sg2d, argument 626 Object srcPixel = dstCM.getDataElements(sg2d.eargb, null); 628 XORComposite comp = (XORComposite)sg2d.getComposite(); 657 public void FillRect(SunGraphics2D sg2d, SurfaceData sData, argument 660 PixelWriter pw = GeneralRenderer.createSolidPixelWriter(sg2d, sData); 662 Region r = sg2d 324 doDrawRect(PixelWriter pw, SunGraphics2D sg2d, SurfaceData sData, int x, int y, int w, int h) argument 705 FillPath(SunGraphics2D sg2d, SurfaceData sData, int transx, int transy, Path2D.Float p2df) argument 724 FillSpans(SunGraphics2D sg2d, SurfaceData sData, SpanIterator si) argument 744 DrawLine(SunGraphics2D sg2d, SurfaceData sData, int x1, int y1, int x2, int y2) argument 768 DrawPolygons(SunGraphics2D sg2d, SurfaceData sData, int xPoints[], int yPoints[], int nPoints[], int numPolys, int transx, int transy, boolean close) argument 795 DrawPath(SunGraphics2D sg2d, SurfaceData sData, int transx, int transy, Path2D.Float p2df) argument 815 DrawRect(SunGraphics2D sg2d, SurfaceData sData, int x, int y, int w, int h) argument 831 FillRect(SunGraphics2D sg2d, SurfaceData sData, int x, int y, int w, int h) argument 850 FillPath(SunGraphics2D sg2d, SurfaceData sData, int transx, int transy, Path2D.Float p2df) argument 869 FillSpans(SunGraphics2D sg2d, SurfaceData sData, SpanIterator si) argument 889 DrawLine(SunGraphics2D sg2d, SurfaceData sData, int x1, int y1, int x2, int y2) argument 913 DrawPolygons(SunGraphics2D sg2d, SurfaceData sData, int xPoints[], int yPoints[], int nPoints[], int numPolys, int transx, int transy, boolean close) argument 940 DrawPath(SunGraphics2D sg2d, SurfaceData sData, int transx, int transy, Path2D.Float p2df) argument 959 DrawRect(SunGraphics2D sg2d, SurfaceData sData, int x, int y, int w, int h) argument 975 DrawGlyphList(SunGraphics2D sg2d, SurfaceData sData, GlyphList gl) argument 990 DrawGlyphListAA(SunGraphics2D sg2d, SurfaceData sData, GlyphList gl) argument [all...] |
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | X11Renderer.c | 570 (JNIEnv *env, jobject self, jobject sg2d, jlong pXSData, jlong xgc, 616 stroke = (((*env)->GetIntField(env, sg2d, sg2dStrokeHintID) == 569 Java_sun_java2d_x11_X11Renderer_XDoPath(JNIEnv *env, jobject self, jobject sg2d, jlong pXSData, jlong xgc, jint transX, jint transY, jobject p2df, jboolean isFill) argument
|
/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...] |