| D | fntdemo1.c | 178 const FNTHeader* font, in DrawString() argument 186 BOOL utf16 = (FNTGetEncoding(font) == FNT_ENCODING_UTF16); in DrawString() 192 string = FNTGetTexture(font, string, &tex); in DrawString() 214 const FNTHeader* font, in GetStringWidth() argument 219 BOOL utf16 = (FNTGetEncoding(font) == FNT_ENCODING_UTF16); in GetStringWidth() 225 string = FNTGetWidth(font, string, &width); in GetStringWidth() 243 const FNTHeader* font, in DrawSample() argument 259 FNTGetMetrics(font, &metrics); in DrawSample() 262 drawW = DrawString(font, x, y, z, str0, scaleX, scaleY, 0.F, &lastImage); in DrawSample() 264 drawW = DrawString(font, x, y, z, str1, scaleX, scaleY, 0.F, &lastImage); in DrawSample() [all …]
|