![]()  | 
  
    MHEG5
    22.3.0
    
   | 
 
Interface to the MHEG text render that uses Freetype font library. More...
Go to the source code of this file.
Classes | |
| struct | VRect | 
| struct | _TextString | 
| struct | _HyperAttribs | 
| struct | s_FontProp | 
| struct | _DrawTextAttrib | 
Typedefs | |
| typedef struct VRect * | pVRect | 
| typedef struct _TextString | TextString | 
| typedef struct _TextString * | pTextString | 
| typedef struct _HyperAttribs | HyperAttribs | 
| typedef struct _HyperAttribs * | pHyperAttribs | 
| typedef struct s_FontProp | S_FontProp | 
| typedef struct _DrawTextAttrib | DrawTextAttrib | 
| typedef struct _DrawTextAttrib * | pDrawTextAttrib | 
Functions | |
| void * | MG_DrawText (const TextString unistr, pDrawTextAttrib attrib, const VRect txt_box) | 
| Create Surface and draw text string on it and terminate freetype library.  More... | |
| S16BIT | MG_TextWidth (const TextString unistr, pDrawTextAttrib attrib) | 
| void | MG_DrawScreenText (const TextString unistr, pDrawTextAttrib attrib, S_SURFACE *canvas) | 
| Single line text string drawn on existing Surface.  More... | |
Interface to the MHEG text render that uses Freetype font library.
| void MG_DrawScreenText | ( | const TextString | unistr, | 
| pDrawTextAttrib | attrib, | ||
| S_SURFACE * | canvas | ||
| ) | 
Single line text string drawn on existing Surface.
| unistr | Unicode String | 
| attrib | Attributes on the string (including font data) | 
| canvas | Surface | 
| void* MG_DrawText | ( | const TextString | unistr, | 
| pDrawTextAttrib | attrib, | ||
| const VRect | txt_box | ||
| ) | 
Create Surface and draw text string on it and terminate freetype library.
| unistr | Unicode String to display | 
| attrib | Attributes on the string (including font data) | 
| txt_box | Rectangle in SD pixel size | 
| unistr | Unicode String | 
| attrib | Attributes on the string (including font data) | 
| txt_box | Rectangle in SD pixel size | 
| S16BIT MG_TextWidth | ( | const TextString | unistr, | 
| pDrawTextAttrib | attrib | ||
| ) | 
| unistr | Unicode String | 
| attrib | Attributes on the string (including font data) | 
| f_sz | Pointer to font size data | 
| unistr | Unicode String | 
| attrib | Attributes on the string (including font data) | 
 1.8.11