DrawSetTextFont: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (added class)
Line 1: Line 1:
{{navbar-first|ISurface|DrawSetTextColor}}
{{navbar-first|ISurface|DrawSetTextColor}}
=void '''DrawSetTextFont'''([[HFont]] font)=
=void [[ISurface]]::'''DrawSetTextFont'''([[HFont]] font)=
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.
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:33, 28 June 2006

Return to ISurface DrawSetTextColor

void ISurface::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.