|
|
| MFVector MFFont_GetCharPos |
( |
MFFont * |
pFont, |
|
|
const char * |
pText, |
|
|
int |
charIndex, |
|
|
float |
height |
|
) |
|
|
|
|
Gets the offset of the specified character from the string's starting position. - Parameters:
-
| pFont | Pointer to a font. |
| pText | Text containing the target character. |
| charIndex | Index of the character in the string to find the position of. |
| height | Height of the text. |
- Returns:
- The physical offset of the specified character in the string from the string starting position.
- See also:
- MFFont_GetStringWidth()
|
|