SetFontGlyphSet: Difference between revisions
Jump to navigation
Jump to search
m (added class) |
No edit summary |
||
Line 1: | Line 1: | ||
{{navbar-last|AddCustomFontFile|ISurface}} | {{navbar-last|AddCustomFontFile|ISurface}} | ||
=bool [[ISurface]]::'''SetFontGlyphSet'''([[HFont]] font, const char *windowsFontName, | =bool [[ISurface]]::'''SetFontGlyphSet'''([[HFont]] font, const char *windowsFontName, int tall, int weight, int blur, int scanlines, int flags)= | ||
Using [[EFontFlags]], you can set up the HFont that has been allocated. | Using [[EFontFlags]], you can set up the HFont that has been allocated. windowsFontName shouldn't necessarily be the same<br>as the loaded [[Wikipedia:TrueType|TTF]] file. | ||
[[Category:ISurface]] | [[Category:ISurface]] |
Revision as of 15:44, 4 November 2007
← AddCustomFontFile | Return to ISurface |
bool ISurface::SetFontGlyphSet(HFont font, const char *windowsFontName, int tall, int weight, int blur, int scanlines, int flags)
Using EFontFlags, you can set up the HFont that has been allocated. windowsFontName shouldn't necessarily be the same
as the loaded TTF file.