CreateFont: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (getfont)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{navbar-first|ISurface|AddCustomFontFile}}
{{navbar-first|ISurface|AddCustomFontFile}}
=[[HFont]] '''CreateFont'''()=
=[[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.
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]]

Latest revision as of 19:32, 28 June 2006

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.