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

/openjdk7/jdk/src/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.java186 GeneralPath gp;
202 gp = getStrikeForSlot(slot).getGlyphVectorOutline(tmpGlyphs, x, y);
204 path = gp;
205 } else if (gp != null) {
206 path.append(gp, false);
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 DExtendedTextSourceLabel.java656 int gp = 0; // glyph position
669 gp = glyphinfo.length - numvals;
709 gp += pdelta;
712 while (gx != gxlimit && (glyphinfo[gp + advx] == 0 ||
716 ((glyphinfo[gp + advx] == 0) ||
722 int gps = gp - pdelta;
738 float radvx = glyphinfo[gp + advx];
740 float rposx = glyphinfo[gp + posx];
746 float rvisw = glyphinfo[gp + visw];
748 float rvisx = glyphinfo[gp
[all...]
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 DStandardGlyphVector.java558 GeneralPath gp = new GeneralPath();
559 gp.moveTo(x, y);
560 gp.lineTo(x + wx, y + wy);
561 gp.lineTo(x + wx + hx, y + wy + hy);
562 gp.lineTo(x + hx, y + hy);
563 gp.closePath();
565 result = new DelegatingShape(gp);
1793 GeneralPath gp = strike.getGlyphOutline(glyphID, 0, 0);
1794 gp.transform(sgv.invdtx);
1795 result = gp
[all...]
H A DFileFontStrike.java909 GeneralPath gp = null;
915 gp = (GeneralPath)outlineMap.get(glyphCode);
919 if (gp == null) {
920 gp = fileFont.getGlyphOutline(pScalerContext, glyphCode, 0, 0);
927 outlineMap.put(glyphCode, gp);
929 gp = (GeneralPath)gp.clone(); // mutable!
931 gp.transform(AffineTransform.getTranslateInstance(x, y));
933 return gp;
/openjdk7/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);
/openjdk7/jdk/src/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;
/openjdk7/jdk/test/sun/java2d/DirectX/AccelPaintsTest/
H A DAccelPaintsTest.java77 GradientPaint gp = field in class:AccelPaintsTest
106 renderWithPaint(g2d, gp);
/openjdk7/jdk/src/share/native/sun/font/
H A DfreetypeScaler.c1207 jobject gp = NULL; local
1216 return gp;
1222 return gp;
1237 gp = (*env)->NewObject(env,
1249 return gp;
1266 jobject gp = getGlyphGeneralPath(env, local
1273 if (gp == NULL) { /* can be legal */
1274 gp = (*env)->NewObject(env,
1278 return gp;
1342 jobject gp local
[all...]
/openjdk7/jdk/src/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.java439 GeneralPath gp = null;
442 gp = (GeneralPath) sg2d.usrClip;
444 gp = new GeneralPath(sg2d.usrClip);
447 int shapeLength = getPathLength(gp);
457 int windingRule = getPathCoordinates(gp, clipCoordinatesArray, clipTypesArray);
811 int getPathLength(GeneralPath gp) { argument
814 PathIterator pi = gp.getPathIterator(null);
823 int getPathCoordinates(GeneralPath gp, FloatBuffer coordinates, IntBuffer types) { argument
832 PathIterator pi = gp.getPathIterator(null);
985 public void drawfillShape(CRenderer renderer, SunGraphics2D sg2d, GeneralPath gp, boolea argument
[all...]
H A DCompositeCRenderer.java128 GeneralPath gp = new GeneralPath(Path2D.WIND_NON_ZERO, npoints);
129 gp.moveTo(xpoints[0], ypoints[0]);
131 gp.lineTo(xpoints[i], ypoints[i]);
136 gp.lineTo(xpoints[0], ypoints[0]);
140 doShape(sg2d, (OSXSurfaceData) sg2d.getSurfaceData(), (Shape) gp, isfill);
/openjdk7/jdk/test/java/awt/Frame/ShapeNotSetSometimes/
H A DShapeNotSetSometimes.java66 GeneralPath gp;
/openjdk7/jdk/test/java/awt/Graphics2D/RenderClipTest/
H A DRenderClipTest.java944 GeneralPath gp = new GeneralPath();
1001 gp.moveTo(coords[0], coords[1]);
1004 gp.lineTo(coords[0], coords[1]);
1007 gp.quadTo(coords[0], coords[1],
1011 gp.curveTo(coords[0], coords[1],
1016 gp.closePath();
1027 return new Path(gp);
1036 private Path(GeneralPath gp) { argument
1037 this.path = gp;
/openjdk7/jdk/src/macosx/classes/sun/font/
H A DCStrike.java229 GeneralPath gp = getGlyphOutline(glyphCode, 0f, 0f);
230 Rectangle2D r2d = gp.getBounds2D();
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DGraphicsPrimitiveMgr.c440 GetNativePrim(JNIEnv *env, jobject gp) argument
444 pPrim = (NativePrimitive *) JNU_GetLongFieldAsPtr(env, gp, pNativePrimID);
H A DGraphicsPrimitiveMgr.h502 GetNativePrim(JNIEnv *env, jobject gp);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTable.java725 Container gp = port.getParent();
726 if (gp instanceof JScrollPane) {
727 JScrollPane scrollPane = (JScrollPane)gp;
759 Container gp = port.getParent();
760 if (gp instanceof JScrollPane) {
761 JScrollPane scrollPane = (JScrollPane)gp;
826 Container gp = port.getParent();
827 if (gp instanceof JScrollPane) {
828 JScrollPane scrollPane = (JScrollPane)gp;

Completed in 163 milliseconds