Searched refs:getPixelBounds (Results 1 - 13 of 13) sorted by relevance

/openjdk9/jdk/test/java/awt/FontClass/
H A DNaNTransform.java68 testShape("tl PixelBounds 1", tl.getPixelBounds(frc, 20, 10));
69 testShape("tl PixelBounds 2", tl.getPixelBounds(frc, NaN, NaN));
73 testShape("gv PixelBounds 1", gv.getPixelBounds(frc, 0, 0));
74 testShape("gv PixelBounds 2", gv.getPixelBounds(frc, NaN, NaN));
78 testShape("gv PixelBounds 1A", gv.getPixelBounds(frc, 0, 0));
79 testShape("gv PixelBounds 2A", gv.getPixelBounds(frc, NaN, NaN));
/openjdk9/jdk/test/java/awt/font/TextLayout/
H A DArabicDiacriticTest.java87 Rectangle r1 = tl1.getPixelBounds(frc, 0f, 0f);
88 Rectangle r2 = tl2.getPixelBounds(frc, 0f, 0f);
H A DTestGetPixelBounds.java114 System.out.println("tl pixel bounds: " + tl.getPixelBounds(frc, x, y));
115 System.out.println(" again int off: " + tl.getPixelBounds(frc, x+2, y - 2));
116 System.out.println(" again frac off: " + tl.getPixelBounds(frc, x+.5f, y + .2f));
117 System.out.println(" again frc: " + tl.getPixelBounds(
119 System.out.println(" again int off: " + tl.getPixelBounds(frc, x-2, y+2));
122 System.out.println("gv bounds: " + gv.getPixelBounds(frc, x, y));
125 if (!tl.getPixelBounds(frc, x, y).contains(computeLayoutBounds(tl, x, y, frc))) {
/openjdk9/jdk/src/java.desktop/share/classes/sun/font/
H A DTextLineComponent.java76 public Rectangle getPixelBounds(FontRenderContext frc, float x, float y); method in interface:TextLineComponent
H A DTextSourceLabel.java113 public Rectangle getPixelBounds(FontRenderContext frc, float x, float y) { method in class:TextSourceLabel
114 return getGV().getPixelBounds(frc, x, y); // no cache
H A DGraphicComponent.java157 public Rectangle getPixelBounds(FontRenderContext frc, float x, float y) { method in class:GraphicComponent
H A DExtendedTextSourceLabel.java171 public Rectangle getPixelBounds(FontRenderContext frc, float x, float y) { method in class:ExtendedTextSourceLabel
172 return getGV().getPixelBounds(frc, x, y);
H A DStandardGlyphVector.java418 public Rectangle getPixelBounds(FontRenderContext renderFRC, float x, float y) { method in class:StandardGlyphVector
961 // We keep translation in our frctx since getPixelBounds uses it. But
964 // translation except getPixelBounds.
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/font/
H A DGlyphVector.java271 public Rectangle getPixelBounds(FontRenderContext renderFRC, float x, float y) { method in class:GlyphVector
H A DTextLine.java347 public Rectangle getPixelBounds(FontRenderContext frc, float x, float y) { method in class:TextLine
375 Rectangle pb = tlc.getPixelBounds(frc, locs[n] + rx, locs[n+1] + ry);
H A DTextLayout.java1006 * @see GlyphVector#getPixelBounds
1009 public Rectangle getPixelBounds(FontRenderContext frc, float x, float y) { method in class:TextLayout
1010 return textLine.getPixelBounds(frc, x, y);
/openjdk9/jdk/src/demo/share/java2d/J2DBench/src/j2dbench/tests/text/
H A DTextMeasureTests.java300 r = gv.getPixelBounds(null, 0, 0); // !!! add opt to provide different frc?
/openjdk9/jdk/src/demo/share/jfc/Font2DTest/
H A DFontPanel.java560 Rectangle2D r2d2 = gv.getPixelBounds(frc, 0, 0);
562 // getPixelBounds returns a result in device space.

Completed in 145 milliseconds