Searched refs:getStringBounds (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/
H A DFontMetrics.java354 * @see #getStringBounds(String, Graphics)
528 * @see java.awt.Font#getStringBounds(String, FontRenderContext)
530 public Rectangle2D getStringBounds( String str, Graphics context) { method in class:FontMetrics
531 return font.getStringBounds(str, myFRC(context));
547 * @see java.awt.Font#getStringBounds(String, int, int, FontRenderContext)
549 public Rectangle2D getStringBounds( String str, method in class:FontMetrics
552 return font.getStringBounds(str, beginIndex, limit,
572 * @see java.awt.Font#getStringBounds(char[], int, int, FontRenderContext)
574 public Rectangle2D getStringBounds( char [] chars, method in class:FontMetrics
577 return font.getStringBounds(char
596 public Rectangle2D getStringBounds(CharacterIterator ci, method in class:FontMetrics
[all...]
H A DFont.java2328 public Rectangle2D getStringBounds( String str, FontRenderContext frc) { method in class:Font
2330 return getStringBounds(array, 0, array.length, frc);
2360 public Rectangle2D getStringBounds( String str, method in class:Font
2364 return getStringBounds(substr, frc);
2395 public Rectangle2D getStringBounds(char [] chars, method in class:Font
2462 public Rectangle2D getStringBounds(CharacterIterator ci, method in class:Font
2487 return getStringBounds(arr,0,arr.length,frc);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DGraphicsUtilities.java56 public static Rectangle2D getStringBounds(String s, Graphics g) { method in class:GraphicsUtilities
58 return fm.getStringBounds(s, 0, s.length(), g);
62 FontMetrics. This is less accurate then getStringBounds(),
H A DAnnotation.java115 Rectangle2D bounds = GraphicsUtilities.getStringBounds(s, g);
H A DAnnotatedMemoryPanel.java137 Rectangle2D bounds = GraphicsUtilities.getStringBounds(unmappedAddrString, g);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/
H A DBlockWidget.java78 Rectangle2D r1 = g.getFontMetrics().getStringBounds(s, g);
H A DSlotWidget.java100 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g);
/openjdk7/jdk/test/java/awt/FullScreen/MultimonFullscreenTest/
H A DMultimonFullscreenTest.java215 getStringBounds(rectWndBounds.toString(), g).getBounds();
222 getStringBounds(isFSupported, g).getBounds();
230 getStringBounds(isDMChangeSupported, g).getBounds();
237 getStringBounds(usingBS, g).getBounds();
243 getStringBounds(m_strQuitMsg, g).getBounds();
/openjdk7/jdk/src/share/classes/javax/swing/
H A DTablePrintable.java247 hRect = graphics.getFontMetrics().getStringBounds(headerText,
258 fRect = graphics.getFontMetrics().getStringBounds(footerText,
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaInternalFrameDockIconUI.java255 final Rectangle2D stringBounds = metrics.getStringBounds(text, g);
/openjdk7/jdk/src/share/classes/sun/swing/
H A DSwingUtilities2.java507 g2d.getFont().getStringBounds(text, DEFAULT_FRC).getWidth();
624 getStringBounds(text, DEFAULT_FRC).getWidth();
785 getStringBounds(data, offset, offset + length, frc).
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Util/src/com/sun/hotspot/igv/util/
H A DRangeSlider.java185 Rectangle bounds = metrics.getStringBounds(curS, g).getBounds();
/openjdk7/jdk/src/share/classes/sun/print/
H A DPeekGraphics.java1469 Rectangle2D bbox = getFont().getStringBounds(str, frc);
H A DPathGraphics.java906 Rectangle2D bounds = font.getStringBounds(str, gvFrc);
H A DPSPrinterJob.java1279 mLastFont.getStringBounds(cs.charsetChars,
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPathGraphics.java547 Rectangle2D bds = font.getStringBounds(substr, frc);
848 Rectangle2D bds = font.getStringBounds(str, frc);

Completed in 86 milliseconds