Searched defs:sg2d (Results 26 - 50 of 73) sorted by relevance

123

/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DDrawLine.java77 public native void DrawLine(SunGraphics2D sg2d, SurfaceData dest, argument
107 public void DrawLine(SunGraphics2D sg2d, SurfaceData dest, argument
111 target.DrawLine(sg2d, dest, x1, y1, x2, y2);
H A DDrawParallelogram.java112 public void DrawParallelogram(SunGraphics2D sg2d, SurfaceData dest, argument
119 target.DrawParallelogram(sg2d, dest,
H A DDrawPolygons.java75 public native void DrawPolygons(SunGraphics2D sg2d, SurfaceData sData, argument
108 public void DrawPolygons(SunGraphics2D sg2d, SurfaceData sData, argument
115 target.DrawPolygons(sg2d, sData,
H A DDrawRect.java78 public native void DrawRect(SunGraphics2D sg2d, SurfaceData dest, argument
108 public void DrawRect(SunGraphics2D sg2d, SurfaceData dest, argument
112 target.DrawRect(sg2d, dest, x1, y1, w, h);
H A DFillParallelogram.java77 public native void FillParallelogram(SunGraphics2D sg2d, SurfaceData dest, argument
109 public void FillParallelogram(SunGraphics2D sg2d, SurfaceData dest, argument
115 target.FillParallelogram(sg2d, dest, x0, y0, dx1, dy1, dx2, dy2);
H A DFillRect.java78 public native void FillRect(SunGraphics2D sg2d, SurfaceData dest, argument
103 public void FillRect(SunGraphics2D sg2d, SurfaceData dest, argument
106 fillop.MaskFill(sg2d, dest, sg2d.composite, x, y, w, h, null, 0, 0);
128 public void FillRect(SunGraphics2D sg2d, SurfaceData dest, argument
132 target.FillRect(sg2d, dest, x, y, w, h);
H A DMaskFill.java126 public native void MaskFill(SunGraphics2D sg2d, SurfaceData sData, argument
131 public native void FillAAPgram(SunGraphics2D sg2d, SurfaceData sData, argument
137 public native void DrawAAPgram(SunGraphics2D sg2d, SurfaceData sData, argument
185 public void MaskFill(SunGraphics2D sg2d, argument
198 Region clip = sg2d.clipRegion;
199 sg2d.clipRegion = null;
200 int pixel = sg2d.pixel;
201 sg2d.pixel = tmpData.pixelFor(sg2d.getColor());
202 fillop.FillRect(sg2d, tmpDat
240 MaskFill(SunGraphics2D sg2d, SurfaceData sData, Composite comp, int x, int y, int w, int h, byte[] mask, int maskoff, int maskscan) argument
250 FillAAPgram(SunGraphics2D sg2d, SurfaceData sData, Composite comp, double x, double y, double dx1, double dy1, double dx2, double dy2) argument
261 DrawAAPgram(SunGraphics2D sg2d, SurfaceData sData, Composite comp, double x, double y, double dx1, double dy1, double dx2, double dy2, double lw1, double lw2) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/
H A DOGLTextRenderer.java49 protected void validateContext(SunGraphics2D sg2d, Composite comp) { argument
51 OGLSurfaceData oglDst = (OGLSurfaceData)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);
H A DOGLRenderer.java46 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...]
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DBufferedMaskFill.java73 public void MaskFill(SunGraphics2D sg2d, SurfaceData sData, argument
86 validateContext(sg2d, comp, BufferedContext.USE_MASK);
151 protected abstract void validateContext(SunGraphics2D sg2d, argument
H A DBufferedTextPipe.java57 private static int createPackedParams(SunGraphics2D sg2d, GlyphList gl) { argument
62 ((sg2d.lcdTextContrast & 0xff) << OFFSET_CONTRAST ));
72 protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) { argument
78 Composite comp = sg2d.composite;
93 validateContext(sg2d, comp);
94 enqueueGlyphList(sg2d, gl);
100 private void enqueueGlyphList(final SunGraphics2D sg2d, argument
128 buf.putInt(createPackedParams(sg2d, gl));
144 sg2d.lcdTextContrast,
166 protected abstract void validateContext(SunGraphics2D sg2d, argument
[all...]
H A DBufferedPaints.java51 static void setPaint(RenderQueue rq, SunGraphics2D sg2d, argument
54 if (sg2d.paintState <= SunGraphics2D.PAINT_ALPHACOLOR) {
55 setColor(rq, sg2d.pixel);
58 switch (sg2d.paintState) {
60 setGradientPaint(rq, sg2d,
64 setLinearGradientPaint(rq, sg2d,
68 setRadialGradientPaint(rq, sg2d,
72 setTexturePaint(rq, sg2d,
202 SunGraphics2D sg2d,
206 setGradientPaint(rq, (AffineTransform)sg2d
201 setGradientPaint(RenderQueue rq, SunGraphics2D sg2d, GradientPaint paint, boolean useMask) argument
242 setTexturePaint(RenderQueue rq, SunGraphics2D sg2d, TexturePaint paint, boolean useMask) argument
386 setLinearGradientPaint(RenderQueue rq, SunGraphics2D sg2d, LinearGradientPaint paint, boolean useMask) argument
469 setRadialGradientPaint(RenderQueue rq, SunGraphics2D sg2d, RadialGradientPaint paint, boolean useMask) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRMaskFill.java96 public void MaskFill(SunGraphics2D sg2d, SurfaceData sData, Composite comp, argument
103 x11sd.validateAsDestination(null, sg2d.getCompClip());
106 maskBuffer.validateCompositeState(comp, sg2d.transform, sg2d.paint, sg2d);
H A DXRPaints.java49 private static XRPaints getXRPaint(SunGraphics2D sg2d) { argument
50 switch (sg2d.paintState) {
74 static boolean isValid(SunGraphics2D sg2d) { argument
75 XRPaints impl = getXRPaint(sg2d);
76 return (impl != null && impl.isPaintValid(sg2d));
79 static void setPaint(SunGraphics2D sg2d, Paint paint) { argument
80 XRPaints impl = getXRPaint(sg2d);
82 impl.setXRPaint(sg2d, paint);
91 abstract boolean isPaintValid(SunGraphics2D sg2d); argument
93 abstract void setXRPaint(SunGraphics2D sg2d, Pain argument
104 isPaintValid(SunGraphics2D sg2d) argument
108 setXRPaint(SunGraphics2D sg2d, Paint pt) argument
144 isPaintValid(SunGraphics2D sg2d) argument
149 setXRPaint(SunGraphics2D sg2d, Paint pt) argument
180 isPaintValid(SunGraphics2D sg2d) argument
186 setXRPaint(SunGraphics2D sg2d, Paint pt) argument
236 isPaintValid(SunGraphics2D sg2d) argument
256 setXRPaint(SunGraphics2D sg2d, Paint pt) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCPrinterSurfaceData.java73 public BufferedImage copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, BufferedImage dstImage) { argument
88 public boolean xorSurfacePixels(SunGraphics2D sg2d, BufferedImage srcPixels, int x, int y, int w, int h, int colorXOR) { argument
H A DCTextPipe.java44 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...]
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DDrawPath.c63 jobject sg2d, jobject sData,
70 jint pixel = GrPrim_Sg2dGetPixel(env, sg2d);
78 jint stroke = (*env)->GetIntField(env, sg2d, sg2dStrokeHintID);
84 GrPrim_Sg2dGetCompInfo(env, sg2d, pPrim, &compInfo);
105 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
61 Java_sun_java2d_loops_DrawPath_DrawPath(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jint transX, jint transY, jobject p2df) argument
H A DFillParallelogram.c40 jobject sg2d, jobject sData,
70 pixel = GrPrim_Sg2dGetPixel(env, sg2d);
72 GrPrim_Sg2dGetCompInfo(env, sg2d, pPrim, &compInfo);
80 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
38 Java_sun_java2d_loops_FillParallelogram_FillParallelogram(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jdouble x0, jdouble y0, jdouble dx1, jdouble dy1, jdouble dx2, jdouble dy2) argument
H A DFillPath.c51 jobject sg2d, jobject sData,
59 jint pixel = GrPrim_Sg2dGetPixel(env, sg2d);
67 jint stroke = (*env)->GetIntField(env, sg2d, sg2dStrokeHintID);
73 GrPrim_Sg2dGetCompInfo(env, sg2d, pPrim, &compInfo);
95 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
49 Java_sun_java2d_loops_FillPath_FillPath(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jint transX, jint transY, jobject p2df) argument
H A DDrawLine.c389 jobject sg2d, jobject sData,
396 jint pixel = GrPrim_Sg2dGetPixel(env, sg2d);
403 GrPrim_Sg2dGetCompInfo(env, sg2d, pPrim, &compInfo);
411 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
387 Java_sun_java2d_loops_DrawLine_DrawLine(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jint x1, jint y1, jint x2, jint y2) argument
H A DDrawParallelogram.c93 jobject sg2d, jobject sData,
135 pixel = GrPrim_Sg2dGetPixel(env, sg2d);
137 GrPrim_Sg2dGetCompInfo(env, sg2d, pPrim, &compInfo);
145 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
91 Java_sun_java2d_loops_DrawParallelogram_DrawParallelogram(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jdouble x0, jdouble y0, jdouble dx1, jdouble dy1, jdouble dx2, jdouble dy2, jdouble lw1, jdouble lw2) argument
H A DDrawPolygons.c110 jobject sg2d, jobject sData,
126 jint pixel = GrPrim_Sg2dGetPixel(env, sg2d);
151 GrPrim_Sg2dGetCompInfo(env, sg2d, pPrim, &compInfo);
159 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
108 Java_sun_java2d_loops_DrawPolygons_DrawPolygons(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jintArray xPointsArray, jintArray yPointsArray, jintArray nPointsArray, jint numPolys, jint transX, jint transY, jboolean close) argument
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/
H A DCGLSurfaceData.java177 public boolean copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, argument
179 final int state = sg2d.transformState;
181 || sg2d.compositeState >= SunGraphics2D.COMP_XOR) {
185 x += sg2d.transX;
186 y += sg2d.transY;
189 sg2d.transform.transform(coords, 0, coords, 0, 3);
197 oglRenderPipe.copyArea(sg2d, x, y, w, h, dx, dy);
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DRenderer.java47 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...]
/openjdk7/jdk/src/windows/classes/sun/java2d/windows/
H A DGDIWindowSurfaceData.java154 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...]

Completed in 99 milliseconds

123