tkfreetype2
tkfreetype2
NativeFT2Face
- Represents a freetype2 font face.
getAscender() : float
- Return the "minimal descender".
getDescender() : float
- Return the "maximal ascender".
getHeight() : float
- Return the actually selected font height.
getStyleFlags() : int
- Return the font style flags
getUnderlinePosition() : float
- Return the y position of the underline line
getUnderlineThickness() : float
- Return the thickness of the underline line
loadChar(Class ft2face, char c)
- Load a char glyph and return its extends in "ft2face"
openFileFace(String fileName, float w, h) : boolean
- Open a font face from the given local file
openMemoryFace(Buffer b, float w, h) : boolean
- Open a font face from the given memory buffer.
renderGlyph(Object texture)
- Render last loaded char glyph.
storeFamilyName(String s)
- Write the font family name to the given string.
storeGlyphsAdvanceX(FloatArray fa)
- Write the advancex for glyphs 0..255 to the given FloatArray
storeStyleName(String s)
- Write the font style name to the given string.Project Modules: | tkfreetype2 |
Project Classes: | NativeFT2Face |
Project Functions: | |
All Namespaces: | default , ui |
All Projects: | core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit |
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:54