Searched defs:sg (Results 1 - 25 of 27) sorted by relevance

12

/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DBufImgOps.java50 static boolean renderImageWithOp(SunGraphics2D sg, BufferedImage img, argument
72 SurfaceData dstData = sg.surfaceData;
74 (sg.interpolationType == AffineTransformOp.TYPE_BICUBIC) ||
75 (sg.compositeState > SunGraphics2D.COMP_ALPHA))
81 dstData.getSourceSurfaceData(img, sg.TRANSFORM_ISIDENT,
86 dstData.getSourceSurfaceData(img, sg.TRANSFORM_ISIDENT,
108 sg.composite, sg.getCompClip(),
109 sg.transform, sg
[all...]
H A DD3DDrawImage.java43 protected void renderImageXform(SunGraphics2D sg, Image img, argument
53 SurfaceData dstData = sg.surfaceData;
56 sg.TRANSFORM_GENERIC,
57 sg.imageComp,
64 sg.imageComp,
69 sg.composite, sg.getCompClip(),
77 super.renderImageXform(sg, img, tx, interpType,
82 public void transformImage(SunGraphics2D sg, BufferedImage img, argument
88 transformImage(sg, im
[all...]
/openjdk7/jdk/test/java/io/charStreams/
H A DLineGenerator.java30 StringGenerator sg; field in class:LineGenerator
33 public LineGenerator(IntGenerator ig, StringGenerator sg, int limit) { argument
35 this.sg = sg;
41 this.sg = new StringGenerator(ig);
53 String l = sg.next();
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/
H A DOGLBufImgOps.java50 static boolean renderImageWithOp(SunGraphics2D sg, BufferedImage img, argument
72 SurfaceData dstData = sg.surfaceData;
74 (sg.interpolationType == AffineTransformOp.TYPE_BICUBIC) ||
75 (sg.compositeState > SunGraphics2D.COMP_ALPHA))
81 dstData.getSourceSurfaceData(img, sg.TRANSFORM_ISIDENT,
86 dstData.getSourceSurfaceData(img, sg.TRANSFORM_ISIDENT,
107 sg.composite, sg.getCompClip(),
108 sg.transform, sg
[all...]
H A DOGLDrawImage.java43 protected void renderImageXform(SunGraphics2D sg, Image img, argument
60 SurfaceData dstData = sg.surfaceData;
63 sg.TRANSFORM_GENERIC,
64 sg.imageComp,
76 sg.imageComp,
81 sg.composite, sg.getCompClip(),
89 super.renderImageXform(sg, img, tx, interpType,
94 public void transformImage(SunGraphics2D sg, BufferedImage img, argument
100 transformImage(sg, im
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DShapeDrawPipe.java37 public void draw(SunGraphics2D sg, Shape s); argument
39 public void fill(SunGraphics2D sg, Shape s); argument
H A DParallelogramPipe.java51 public void fillParallelogram(SunGraphics2D sg, argument
69 public void drawParallelogram(SunGraphics2D sg, argument
H A DCompositePipe.java38 public Object startSequence(SunGraphics2D sg, Shape s, Rectangle dev, argument
H A DPixelDrawPipe.java43 public void drawLine(SunGraphics2D sg, argument
46 public void drawRect(SunGraphics2D sg, argument
49 public void drawRoundRect(SunGraphics2D sg, argument
53 public void drawOval(SunGraphics2D sg, argument
56 public void drawArc(SunGraphics2D sg, argument
60 public void drawPolyline(SunGraphics2D sg, argument
64 public void drawPolygon(SunGraphics2D sg, argument
H A DPixelFillPipe.java43 public void fillRect(SunGraphics2D sg, argument
47 public void fillRoundRect(SunGraphics2D sg, argument
51 public void fillOval(SunGraphics2D sg, argument
54 public void fillArc(SunGraphics2D sg, argument
58 public void fillPolygon(SunGraphics2D sg, argument
H A DAAShapePipe.java54 public void draw(SunGraphics2D sg, Shape s) { argument
57 if (sg.stroke instanceof BasicStroke) {
58 bs = (BasicStroke) sg.stroke;
60 s = sg.stroke.createStrokedShape(s);
64 renderPath(sg, s, bs);
67 public void fill(SunGraphics2D sg, Shape s) { argument
68 renderPath(sg, s, null);
85 public void fillParallelogram(SunGraphics2D sg, argument
92 Region clip = sg.getCompClip();
102 renderTiles(sg, computeBBo
105 drawParallelogram(SunGraphics2D sg, 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
144 renderPath(SunGraphics2D sg, Shape s, BasicStroke bs) argument
162 renderTiles(SunGraphics2D sg, Shape s, AATileGenerator aatg, int abox[]) argument
[all...]
H A DAlphaColorPipe.java41 public Object startSequence(SunGraphics2D sg, Shape s, Rectangle dev, argument
43 return sg;
53 SunGraphics2D sg = (SunGraphics2D) context;
55 sg.alphafill.MaskFill(sg, sg.getSurfaceData(), sg.composite,
68 public void fillParallelogram(SunGraphics2D sg, argument
75 sg.alphafill.FillAAPgram(sg, s
79 drawParallelogram(SunGraphics2D sg, 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 DAlphaPaintPipe.java65 public TileContext(SunGraphics2D sg, PaintContext pc) { argument
66 sunG2D = sg;
69 dstData = sg.getSurfaceData();
81 public Object startSequence(SunGraphics2D sg, Shape s, Rectangle devR, argument
84 sg.paint.createContext(sg.getDeviceColorModel(),
87 sg.cloneTransform(),
88 sg.getRenderingHints());
89 return new TileContext(sg, paintContext);
103 SunGraphics2D sg
[all...]
H A DDrawImagePipe.java57 public boolean copyImage(SunGraphics2D sg, Image img, argument
62 public boolean copyImage(SunGraphics2D sg, Image img, argument
67 public boolean scaleImage(SunGraphics2D sg, Image img, int x, int y, argument
72 public boolean scaleImage(SunGraphics2D sg, Image img, argument
78 public boolean transformImage(SunGraphics2D sg, Image img, argument
82 public void transformImage(SunGraphics2D sg, BufferedImage img, argument
H A DGeneralCompositePipe.java53 public TileContext(SunGraphics2D sg, PaintContext pCtx, argument
55 sunG2D = sg;
62 public Object startSequence(SunGraphics2D sg, Shape s, Rectangle devR, argument
64 RenderingHints hints = sg.getRenderingHints();
65 ColorModel model = sg.getDeviceColorModel();
67 sg.paint.createContext(model, devR, s.getBounds2D(),
68 sg.cloneTransform(),
71 sg.composite.createContext(paintContext.getColorModel(), model,
73 return new TileContext(sg, paintContext, compositeContext, model);
90 SunGraphics2D sg
[all...]
H A DPixelToShapeConverter.java50 public void drawLine(SunGraphics2D sg, argument
52 outpipe.draw(sg, new Line2D.Float(x1, y1, x2, y2));
55 public void drawRect(SunGraphics2D sg, argument
57 outpipe.draw(sg, new Rectangle(x, y, w, h));
60 public void fillRect(SunGraphics2D sg, argument
62 outpipe.fill(sg, new Rectangle(x, y, w, h));
65 public void drawRoundRect(SunGraphics2D sg, argument
68 outpipe.draw(sg, new RoundRectangle2D.Float(x, y, w, h, aW, aH));
71 public void fillRoundRect(SunGraphics2D sg, argument
74 outpipe.fill(sg, ne
77 drawOval(SunGraphics2D sg, int x, int y, int w, int h) argument
82 fillOval(SunGraphics2D sg, int x, int y, int w, int h) argument
87 drawArc(SunGraphics2D sg, int x, int y, int w, int h, int start, int extent) argument
94 fillArc(SunGraphics2D sg, int x, int y, int w, int h, int start, int extent) argument
116 drawPolyline(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
122 drawPolygon(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
128 fillPolygon(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
[all...]
H A DSpanClipRenderer.java68 public Object startSequence(SunGraphics2D sg, Shape s, Rectangle devR, argument
70 RegionIterator ri = sg.clipRegion.getIterator();
72 return new SCRcontext(ri, outpipe.startSequence(sg, s, devR, abox));
H A DSpanShapeRenderer.java54 public Object startSequence(SunGraphics2D sg, Shape s, argument
56 return comppipe.startSequence(sg, s, devR, bbox);
71 public Object startSequence(SunGraphics2D sg, Shape s, argument
73 return sg;
86 public void draw(SunGraphics2D sg, Shape s) { argument
87 if (sg.stroke instanceof BasicStroke) {
88 ShapeSpanIterator sr = LoopPipe.getStrokeSpans(sg, s);
90 renderSpans(sg, sg.getCompClip(), s, sr);
95 fill(sg, s
103 fill(SunGraphics2D sg, Shape s) argument
122 startSequence(SunGraphics2D sg, Shape s, Rectangle devR, int[] bbox) argument
129 renderRect(SunGraphics2D sg, Rectangle2D r) argument
179 renderSpans(SunGraphics2D sg, Region clipRegion, Shape s, ShapeSpanIterator sr) argument
[all...]
H A DDrawImage.java60 public boolean copyImage(SunGraphics2D sg, Image img, argument
66 if (isSimpleTranslate(sg)) {
67 return renderImageCopy(sg, img, bgColor,
68 x + sg.transX, y + sg.transY,
71 AffineTransform atfm = sg.transform;
76 transformImage(sg, img, atfm, sg.interpolationType,
81 public boolean copyImage(SunGraphics2D sg, Image img, argument
85 if (isSimpleTranslate(sg)) {
95 scaleImage(SunGraphics2D sg, Image img, int x, int y, int width, int height, Color bgColor) argument
137 transformImage(SunGraphics2D sg, Image img, int x, int y, AffineTransform extraAT, int interpType) argument
229 transformImage(SunGraphics2D sg, Image img, AffineTransform tx, int interpType, int sx1, int sy1, int sx2, int sy2, Color bgColor) argument
274 tryCopyOrScale(SunGraphics2D sg, Image img, int sx1, int sy1, int sx2, int sy2, Color bgColor, int interpType, double coords[]) argument
337 renderImageXform(SunGraphics2D sg, Image img, AffineTransform tx, int interpType, int sx1, int sy1, int sx2, int sy2, Color bgColor) argument
550 renderImageCopy(SunGraphics2D sg, Image img, Color bgColor, int dx, int dy, int sx, int sy, int w, int h) argument
606 renderImageScale(SunGraphics2D sg, Image img, Color bgColor, int interpType, int sx1, int sy1, int sx2, int sy2, double dx1, double dy1, double dx2, double dy2) argument
667 scaleImage(SunGraphics2D sg, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor) argument
800 isSimpleTranslate(SunGraphics2D sg) argument
837 getTransformColorModel(SunGraphics2D sg, BufferedImage bImg, AffineTransform tx) argument
916 blitSurfaceData(SunGraphics2D sg, Region clipRegion, SurfaceData srcData, SurfaceData dstData, SurfaceType srcType, SurfaceType dstType, int sx, int sy, int dx, int dy, int w, int h, Color bgColor) argument
964 scaleSurfaceData(SunGraphics2D sg, Region clipRegion, SurfaceData srcData, SurfaceData dstData, SurfaceType srcType, SurfaceType dstType, int sx1, int sy1, int sx2, int sy2, double dx1, double dy1, double dx2, double dy2) argument
1005 copyImage(SunGraphics2D sg, Image img, int x, int y, Color bgColor, ImageObserver observer) argument
1021 copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer) argument
1040 scaleImage(SunGraphics2D sg, Image img, int x, int y, int width, int height, Color bgColor, ImageObserver observer) argument
1058 scaleImage(SunGraphics2D sg, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor, ImageObserver observer) argument
1077 transformImage(SunGraphics2D sg, Image img, AffineTransform atfm, ImageObserver observer) argument
1093 transformImage(SunGraphics2D sg, BufferedImage img, BufferedImageOp op, int x, int y) argument
[all...]
H A DNullPipe.java49 public void drawLine(SunGraphics2D sg, argument
53 public void drawRect(SunGraphics2D sg, argument
57 public void fillRect(SunGraphics2D sg, argument
61 public void drawRoundRect(SunGraphics2D sg, argument
66 public void fillRoundRect(SunGraphics2D sg, argument
71 public void drawOval(SunGraphics2D sg, argument
75 public void fillOval(SunGraphics2D sg, argument
79 public void drawArc(SunGraphics2D sg, argument
84 public void fillArc(SunGraphics2D sg, argument
89 public void drawPolyline(SunGraphics2D sg, argument
94 drawPolygon(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
99 fillPolygon(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
104 draw(SunGraphics2D sg, Shape s) argument
107 fill(SunGraphics2D sg, Shape s) argument
110 drawString(SunGraphics2D sg, String s, double x, double y) argument
113 drawGlyphVector(SunGraphics2D sg, GlyphVector g, float x, float y) argument
117 drawChars(SunGraphics2D sg, char data[], int offset, int length, int x, int y) argument
122 copyImage(SunGraphics2D sg, Image img, int x, int y, Color bgColor, ImageObserver observer) argument
128 copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer) argument
134 scaleImage(SunGraphics2D sg, Image img, int x, int y, int w, int h, Color bgColor, ImageObserver observer) argument
140 scaleImage(SunGraphics2D sg, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor, ImageObserver observer) argument
147 transformImage(SunGraphics2D sg, Image img, AffineTransform atfm, ImageObserver observer) argument
152 transformImage(SunGraphics2D sg, BufferedImage img, BufferedImageOp op, int x, int y) argument
[all...]
H A DValidatePipe.java54 public boolean validate(SunGraphics2D sg) { argument
55 sg.validatePipe();
59 public void drawLine(SunGraphics2D sg, argument
61 if (validate(sg)) {
62 sg.drawpipe.drawLine(sg, x1, y1, x2, y2);
66 public void drawRect(SunGraphics2D sg, argument
68 if (validate(sg)) {
69 sg.drawpipe.drawRect(sg,
73 fillRect(SunGraphics2D sg, int x, int y, int width, int height) argument
80 drawRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight) argument
89 fillRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight) argument
98 drawOval(SunGraphics2D sg, int x, int y, int width, int height) argument
105 fillOval(SunGraphics2D sg, int x, int y, int width, int height) argument
112 drawArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle) argument
120 fillArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle) argument
128 drawPolyline(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
136 drawPolygon(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
144 fillPolygon(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
152 draw(SunGraphics2D sg, Shape s) argument
158 fill(SunGraphics2D sg, Shape s) argument
163 drawString(SunGraphics2D sg, String s, double x, double y) argument
168 drawGlyphVector(SunGraphics2D sg, GlyphVector g, float x, float y) argument
174 drawChars(SunGraphics2D sg, char data[], int offset, int length, int x, int y) argument
181 copyImage(SunGraphics2D sg, Image img, int x, int y, Color bgColor, ImageObserver observer) argument
191 copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer) argument
202 scaleImage(SunGraphics2D sg, Image img, int x, int y, int w, int h, Color bgColor, ImageObserver observer) argument
213 scaleImage(SunGraphics2D sg, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor, ImageObserver observer) argument
226 transformImage(SunGraphics2D sg, Image img, AffineTransform atfm, ImageObserver observer) argument
235 transformImage(SunGraphics2D sg, BufferedImage img, BufferedImageOp op, int x, int y) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRDrawImage.java41 protected void renderImageXform(SunGraphics2D sg, Image img, argument
44 SurfaceData dstData = sg.surfaceData;
46 SunGraphics2D.TRANSFORM_GENERIC, sg.imageComp, bgColor);
54 sg.imageComp, dstType);
57 blit.Transform(srcData, dstData, sg.composite,
58 sg.getCompClip(), tx, interpType, sx1, sy1, 0, 0, sx2
64 super.renderImageXform(sg, img, tx, interpType, sx1, sy1, sx2, sy2,
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DDrawParallelogram.java79 public native void DrawParallelogram(SunGraphics2D sg, SurfaceData dest, argument
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_gfx_impl.h114 rgbquad_t sg = src & 0xFF00; local
120 sg *= alpha;
122 sg >>= 8;
124 return (src & 0xFF000000) | (srb & 0xFF00FF) | (sg & 0xFF00);
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_check.c866 HprofId id, nm, sg, so, gr, gn; local
930 sg = read_id(&p);
939 nm, sg, so, class_serial_num, li);

Completed in 92 milliseconds

12