CreateFont: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (header)
m (getfont)
Line 1: Line 1:
{{navbar-first|ISurface|AddCustomFontFile}}
{{navbar-first|ISurface|AddCustomFontFile}}
=[[HFont]] '''CreateFont'''()=
=[[HFont]] '''CreateFont'''()=
Use this function before [[AddCustomFontFile]] to allocate an [[HFont]].
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.
[[Category:ISurface]]
[[Category:ISurface]]

Revision as of 20:39, 9 May 2006

Return to ISurface AddCustomFontFile

HFont 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.