Table of Contents | ||||
|
||||
SetFont | ||||
Purpose Assigns a new font to a text object |
||||
Protoype void CTextMngr::SetFont (string str_text_id, string str_font_id) |
||||
Parameters
|
||||
Description This function changes the assigned font of a text object to a new one. This is a good function to use if you are about to release a font object still associated with one or more text objects (bad!) since you can reassign the font of the objects if possible. |
||||
Use CTextMngr text; text.SetFont("my_text", "my_font"); |
||||
|
||||
|