CreateFont

From Valve Developer Community
Jump to: navigation, search
Return to ISurface AddCustomFontFile

HFont ISurface::CreateFont()

Use this function before AddCustomFontFile to allocate an HFont. If there is a pointer to an IScheme, use GetFont to retrieve a font from the scheme.