Package com.jogamp.graph.font
Interface Font.Glyph
-
- Enclosing interface:
- Font
public static interface Font.GlyphGlyph for font http://developer.apple.com/textfonts/TTRefMan/RM06/Chap6cmap.html http://developer.apple.com/textfonts/TTRefMan/RM06/Chap6glyf.html http://www.microsoft.com/typography/otspec/glyf.htm
-
-
Field Summary
Fields Modifier and Type Field Description static intID_CRstatic intID_SPACEstatic intID_UNKNOWN
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetAdvance(float pixelSize, boolean useFrationalMetrics)AABBoxgetBBox()AABBoxgetBBox(AABBox dest, float pixelSize, float[] tmpV3)FontgetFont()shortgetID()floatgetScale(float pixelSize)OutlineShapegetShape()chargetSymbol()inthashCode()
-
-
-
Field Detail
-
ID_UNKNOWN
static final int ID_UNKNOWN
- See Also:
- Constant Field Values
-
ID_CR
static final int ID_CR
- See Also:
- Constant Field Values
-
ID_SPACE
static final int ID_SPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFont
Font getFont()
-
getSymbol
char getSymbol()
-
getID
short getID()
-
getBBox
AABBox getBBox()
-
getScale
float getScale(float pixelSize)
- Parameters:
pixelSize- UsepointSize * resolutionfor resolution correct pixel-size, seeFont.getPixelSize(float, float)- Returns:
-
getBBox
AABBox getBBox(AABBox dest, float pixelSize, float[] tmpV3)
- Parameters:
dest- AABBox instance set to this metrics boundary w/ given pixelSizepixelSize- UsepointSize * resolutionfor resolution correct pixel-size, seeFont.getPixelSize(float, float)tmpV3- caller provided temporary 3-component vector- Returns:
- the given and set AABBox 'dest'
-
getAdvance
float getAdvance(float pixelSize, boolean useFrationalMetrics)- Parameters:
pixelSize- UsepointSize * resolutionfor resolution correct pixel-size, seeFont.getPixelSize(float, float)useFrationalMetrics-- Returns:
-
getShape
OutlineShape getShape()
-
-