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
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Method Summary
-
Field Details
-
ID_UNKNOWN
static final int ID_UNKNOWN- See Also:
-
ID_CR
static final int ID_CR- See Also:
-
ID_SPACE
static final int ID_SPACE- See Also:
-
-
Method Details
-
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
- 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() -
hashCode
int hashCode()
-