Searched refs:gp (Results 1 - 25 of 35) sorted by relevance

12

/openjdk10/jdk/test/java/awt/GradientPaint/
H A DHeadlessGradientPaint.java35 GradientPaint gp;
36 gp = new GradientPaint(10, 10, Color.red, 20, 20, Color.blue);
37 gp = new GradientPaint(new Point(10, 10), Color.red, new Point(20, 20), Color.blue);
38 gp = new GradientPaint(10, 10, Color.red, 20, 20, Color.blue, true);
39 gp = new GradientPaint(10, 10, Color.red, 20, 20, Color.blue, false);
40 gp = new GradientPaint(new Point(10, 10), Color.red, new Point(20, 20), Color.blue, true);
41 gp = new GradientPaint(new Point(10, 10), Color.red, new Point(20, 20), Color.blue, false);
43 gp = new GradientPaint(10, 10, Color.red, 20, 20, Color.blue, false);
44 gp.getPoint1();
45 gp
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/sun/font/
H A DPhysicalStrike.java124 Point2D.Float gp = null;
134 gp = glyphPointMapCache.get(ptKey);
137 if (gp == null) {
138 gp = (physicalFont.getGlyphPoint(pScalerContext, glyphCode, ptNumber));
139 adjustPoint(gp);
140 glyphPointMapCache.put(ptKey, gp);
142 return gp;
H A DCompositeStrike.java188 GeneralPath gp;
204 gp = getStrikeForSlot(slot).getGlyphVectorOutline(tmpGlyphs, x, y);
206 path = gp;
207 } else if (gp != null) {
208 path.append(gp, false);
H A DExtendedTextSourceLabel.java660 int gp = 0; // glyph position
671 gp = glyphinfo.length - numvals;
705 cposl = glyphinfo[gp + posx];
706 cposr = cposl + glyphinfo[gp + advx];
707 cvisl = glyphinfo[gp + visx];
708 cvist = glyphinfo[gp + visy];
709 cvisr = cvisl + glyphinfo[gp + visw];
710 cvisb = cvist + glyphinfo[gp + vish];
714 gp += pdelta;
717 ((glyphinfo[gp
[all...]
H A DUnderline.java241 GeneralPath gp = new GeneralPath();
244 gp.append(stroke.createStrokedShape(line), false);
250 gp.append(stroke.createStrokedShape(line), false);
252 return gp;
H A DGraphicComponent.java216 GeneralPath gp = new GeneralPath();
219 gp.append(graphic.getOutline(tx), false);
223 return gp;
H A DLayoutPathImpl.java762 double cx, cy; // last point in gp
763 GeneralPath gp; // path built for this segment field in class:LayoutPathImpl.SegmentPath.Segment
777 this.gp = new GeneralPath();
788 gp.closePath();
810 gp.moveTo((float)sx, (float)sy);
813 gp.lineTo((float)sx, (float)sy);
817 gp.lineTo((float)lx, (float)ly);
920 GeneralPath gp = new GeneralPath();
922 gp.append(seg.gp, fals
[all...]
H A DFileFontStrike.java940 GeneralPath gp = null;
946 gp = outlineMap.get(glyphCode);
950 if (gp == null) {
951 gp = fileFont.getGlyphOutline(pScalerContext, glyphCode, 0, 0);
958 outlineMap.put(glyphCode, gp);
960 gp = (GeneralPath)gp.clone(); // mutable!
962 gp.transform(AffineTransform.getTranslateInstance(x, y));
964 return gp;
/openjdk10/jdk/test/sun/java2d/pisces/
H A DOpenJDKFillBug.java91 GeneralPath gp = new GeneralPath();
100 gp.moveTo(-4.511, -14.349);
101 gp.lineTo(327.489, -14.349);
102 gp.lineTo(327.489, 494.15);
103 gp.lineTo(-4.511, 494.15);
104 gp.closePath();
126 g2d.fill(gp);
/openjdk10/jdk/test/javax/swing/JWindow/ShapedAndTranslucentWindows/
H A DSetShapeAndClickSwing.java160 GeneralPath gp;
161 gp = new GeneralPath();
162 gp.moveTo(190, 0);
163 gp.lineTo(200, 0);
164 gp.lineTo(200, 10);
165 gp.lineTo(10, 200);
166 gp.lineTo(0, 200);
167 gp.lineTo(0, 190);
168 gp.closePath();
169 shape.subtract(new Area(gp));
[all...]
/openjdk10/jdk/test/java/awt/geom/Path2D/
H A DPath2DCopyConstructor.java186 GeneralPath gp;
200 gp = new GeneralPath(p2d);
201 testEqual(gp, p2d);
202 gp.trimToSize();
203 testEqual(gp, p2d);
217 gp = new GeneralPath(p2d);
218 testIterator(gp, p2d);
219 gp.trimToSize();
220 testIterator(gp, p2d);
234 gp
[all...]
/openjdk10/jdk/test/javax/xml/bind/xjc/8029837/
H A DPreParseGrammarTest.java54 XMLGrammarPreparser gp = new XMLGrammarPreparser();
55 gp.registerPreparser(XMLGrammarDescription.XML_SCHEMA, null);
58 Grammar res = gp.preparseGrammar(XMLGrammarDescription.XML_SCHEMA, xis);
/openjdk10/jdk/test/java/awt/Window/ShapedAndTranslucentWindows/
H A DShapedTranslucentWindowClick.java155 GeneralPath gp;
156 gp = new GeneralPath();
157 gp.moveTo(190, 0);
158 gp.lineTo(200, 0);
159 gp.lineTo(200, 10);
160 gp.lineTo(10, 200);
161 gp.lineTo(0, 200);
162 gp.lineTo(0, 190);
163 gp.closePath();
164 shape.subtract(new Area(gp));
[all...]
H A DFocusAWTTest.java194 GeneralPath gp;
195 gp = new GeneralPath();
196 gp.moveTo(190, 0);
197 gp.lineTo(200, 0);
198 gp.lineTo(200, 10);
199 gp.lineTo(10, 200);
200 gp.lineTo(0, 200);
201 gp.lineTo(0, 190);
202 gp.closePath();
203 a.subtract(new Area(gp));
[all...]
H A DSetShapeAndClick.java186 GeneralPath gp;
187 gp = new GeneralPath();
188 gp.moveTo(190, 0);
189 gp.lineTo(200, 0);
190 gp.lineTo(200, 10);
191 gp.lineTo(10, 200);
192 gp.lineTo(0, 200);
193 gp.lineTo(0, 190);
194 gp.closePath();
195 shape.subtract(new Area(gp));
[all...]
H A DSetShapeDynamicallyAndClick.java184 GeneralPath gp;
185 gp = new GeneralPath();
186 gp.moveTo(190, 0);
187 gp.lineTo(200, 0);
188 gp.lineTo(200, 10);
189 gp.lineTo(10, 200);
190 gp.lineTo(0, 200);
191 gp.lineTo(0, 190);
192 gp.closePath();
193 shape.subtract(new Area(gp));
[all...]
/openjdk10/jdk/test/sun/java2d/cmm/ColorConvertOp/ConstructorsNullTest/
H A DConstructorsNullTest.java94 ColorConvertOp gp;
97 gp = new ColorConvertOp((ColorSpace)null, (RenderingHints)null);
100 gp = new ColorConvertOp((ColorSpace)null, null, null);
103 gp = new ColorConvertOp((ICC_Profile[])null, null);
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/pipe/
H A DPixelToShapeConverter.java103 GeneralPath gp = new GeneralPath(GeneralPath.WIND_EVEN_ODD);
105 gp.moveTo(xPoints[0], yPoints[0]);
107 gp.lineTo(xPoints[i], yPoints[i]);
110 gp.closePath();
113 return gp;
/openjdk10/jdk/src/java.desktop/share/native/libfontmanager/
H A DfreetypeScaler.c1061 static void addSeg(GPData *gp, jbyte type) { argument
1062 gp->pointTypes[gp->numTypes++] = type;
1065 static void addCoords(GPData *gp, FT_Vector *p) { argument
1066 gp->pointCoords[gp->numCoords++] = F26Dot6ToFloat(p->x);
1067 gp->pointCoords[gp->numCoords++] = -F26Dot6ToFloat(p->y);
1070 static int moveTo(FT_Vector *to, GPData *gp) { argument
1071 if (gp
1078 lineTo(FT_Vector *to, GPData *gp) argument
1084 conicTo(FT_Vector *control, FT_Vector *to, GPData *gp) argument
1091 cubicTo(FT_Vector *control1, FT_Vector *control2, FT_Vector *to, GPData *gp) argument
1142 jobject gp = NULL; local
1201 jobject gp = getGlyphGeneralPath(env, local
1277 jobject gp = NULL; local
[all...]
/openjdk10/hotspot/test/serviceability/tmtools/jstat/utils/
H A DGarbageProducer.java72 GeneratedClassProducer gp = new GeneratedClassProducer();
75 list.add(gp.create(0));
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/misc/
H A DInnocuousThread.java147 long gp = UNSAFE.objectFieldOffset(gk, "parent");
152 ThreadGroup parent = (ThreadGroup)UNSAFE.getObject(group, gp);
/openjdk10/jdk/test/java/awt/print/PrinterJob/raster/
H A DRasterTest.java140 GradientPaint gp =
142 g2.setPaint(gp);
/openjdk10/jdk/test/sun/java2d/DirectX/AccelPaintsTest/
H A DAccelPaintsTest.java78 GradientPaint gp = field in class:AccelPaintsTest
107 renderWithPaint(g2d, gp);
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/java2d/
H A DCRenderer.java348 GeneralPath gp;
351 gp = (GeneralPath) s;
353 gp = new GeneralPath(s);
356 PathIterator pi = gp.getPathIterator(null);
358 surfaceData.drawfillShape(this, sg2d, gp, isfill, shouldApplyOffset);
362 GeneralPath gp;
365 gp = (GeneralPath) s;
367 gp = new GeneralPath(s);
370 PathIterator pi = gp.getPathIterator(null);
372 surfaceData.drawfillShape(this, sg2d, gp, isfil
[all...]
H A DOSXSurfaceData.java450 GeneralPath gp = null;
453 gp = (GeneralPath) sg2d.usrClip;
455 gp = new GeneralPath(sg2d.usrClip);
458 int shapeLength = getPathLength(gp);
468 int windingRule = getPathCoordinates(gp, clipCoordinatesArray, clipTypesArray);
893 int getPathLength(GeneralPath gp) { argument
896 PathIterator pi = gp.getPathIterator(null);
905 int getPathCoordinates(GeneralPath gp, FloatBuffer coordinates, IntBuffer types) { argument
914 PathIterator pi = gp.getPathIterator(null);
1067 public void drawfillShape(CRenderer renderer, SunGraphics2D sg2d, GeneralPath gp, boolea argument
[all...]

Completed in 287 milliseconds

12