Data Structures | |
struct | A3DFontData |
Font structure. More... | |
struct | A3DFontKeyData |
Font key structure. More... | |
Modules | |
Flags for Font and Font-Key Attributes | |
Enumerations | |
enum | A3DECharSet |
Font key CharSet. More... | |
Functions | |
A3DStatus | A3DGlobalFontKeyCreate (const A3DFontData *pFontData, A3DFontKeyData *pFontKeyData) |
Creates the A3DFontKeyData structure from the A3DFontData structure. More... | |
A3DStatus | A3DGlobalFontKeyGet (const A3DFontKeyData *pFontKeyData, A3DFontData *pFontData) |
Retrieves font information (A3DFontData) from the A3DFontKeyData structure. This function is useful when reading markup tessellation. More... | |
A3DStatus | A3DGlobalFontTextBoxAndScaleGet (const A3DFontKeyData *psFontKeyData, A3DUTF8Char *pcText, A3DDouble *pdLength, A3DDouble *pdHeight, A3DDouble *pdScale) |
Gets text bounding box and scale according to the font. More... | |
A3DStatus | A3DGlobalFontTextBoxGet (const A3DFontKeyData *psFontKeyData, A3DUTF8Char *pcText, A3DDouble *pdLength, A3DDouble *pdHeight) |
Gets text bounding box according to the font. More... | |
A3DStatus | A3DGlobalFontTextTessellationGet (const A3DFontKeyData *psFontKeyData, const A3DUTF8Char *pcOneChar, A3DRiSet **ppset, A3DDouble *pdCharWidth) |
Gets text tessellation as wireframe. More... | |
Detailed Description
When creating a markup tessellation that uses specific fonts, store fonts with font keys (A3DFontKeyData) by invoking the A3DGlobalFontKeyCreate function.
When parsing a markup tessellation that uses specific fonts, use the A3DGlobalFontKeyGet function to obtain fonts information from font keys (A3DFontKeyData).
- See also
- Tessellation for Markups
Enumeration Type Documentation
enum A3DECharSet |
Font key CharSet.
- Version
- 2.0
Function Documentation
A3DStatus A3DGlobalFontKeyGet | ( | const A3DFontKeyData * | pFontKeyData, |
A3DFontData * | pFontData | ||
) |
Retrieves font information (A3DFontData) from the A3DFontKeyData structure. This function is useful when reading markup tessellation.
- Version
- 2.0
A3DStatus A3DGlobalFontTextBoxGet | ( | const A3DFontKeyData * | psFontKeyData, |
A3DUTF8Char * | pcText, | ||
A3DDouble * | pdLength, | ||
A3DDouble * | pdHeight | ||
) |
Gets text bounding box according to the font.
- Version
- 5.2
A3DStatus A3DGlobalFontTextBoxAndScaleGet | ( | const A3DFontKeyData * | psFontKeyData, |
A3DUTF8Char * | pcText, | ||
A3DDouble * | pdLength, | ||
A3DDouble * | pdHeight, | ||
A3DDouble * | pdScale | ||
) |
Gets text bounding box and scale according to the font.
- Version
- 7.2
A3DStatus A3DGlobalFontKeyCreate | ( | const A3DFontData * | pFontData, |
A3DFontKeyData * | pFontKeyData | ||
) |
Creates the A3DFontKeyData structure from the A3DFontData structure.
- Version
- 2.0
A3DStatus A3DGlobalFontTextTessellationGet | ( | const A3DFontKeyData * | psFontKeyData, |
const A3DUTF8Char * | pcOneChar, | ||
A3DRiSet ** | ppset, | ||
A3DDouble * | pdCharWidth | ||
) |
Gets text tessellation as wireframe.
- Version
- 6.1