LOGFONT logFont = WinXDraw_MakeLogFont (STRING font, height, style)
Fills in a LOGFONT structure
Parameter | Description |
---|---|
STRING font | The name of the font, e.g. "Arial" |
height | The height of the font in pixels |
style | A set of flags describing attributes of the text. See remarks for more info |
A filled in LOGFONT structure
The style parameter can be any combination of
'Declare the LOGFONT structure ... 'Fill in a LOGFONT for bold italic Arial at 20 pixels |