DrawSetTextFont: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
{{navbar-first|ISurface|DrawSetTextColor}}
{{navbar-first|ISurface|DrawSetTextColor}}
=void '''DrawSetTextFont'''([[HFont]] font)=
=void '''DrawSetTextFont'''([[HFont]] font)=
Use this before [[DrawSetTextColor]] and after a font has been created with [[CreateFont]] and its successors.
Use this with other functions to set how to draw text. This should be used with a [[HFont|font handle]] that has been created with [[CreateFont]] and its successors.
[[Category:ISurface]]
[[Category:ISurface]]

Revision as of 19:27, 9 May 2006

Return to ISurface DrawSetTextColor

void DrawSetTextFont(HFont font)

Use this with other functions to set how to draw text. This should be used with a font handle that has been created with CreateFont and its successors.