Package com.jogamp.graph.font
Interface Font.Glyph
-
- Enclosing interface:
- Font
public static interface Font.Glyph
Glyph 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 int
ID_CR
static int
ID_SPACE
static int
ID_UNKNOWN
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getAdvance(float pixelSize, boolean useFrationalMetrics)
AABBox
getBBox()
AABBox
getBBox(AABBox dest, float pixelSize, float[] tmpV3)
Font
getFont()
short
getID()
float
getScale(float pixelSize)
OutlineShape
getShape()
char
getSymbol()
int
hashCode()
-
-
-
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 * resolution
for 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 * resolution
for 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 * resolution
for resolution correct pixel-size, seeFont.getPixelSize(float, float)
useFrationalMetrics
-- Returns:
-
getShape
OutlineShape getShape()
-
-