|
FontProperty |
This structure defines the attributes of a font
typedef struct _FontProperty {
bool bDefault;
bool bUnderLine;
bool bItalic;
bool bStrikeout;
INT nWidth;
INT nHeight;
INT iCharSet;
INT iWeight;
TCHAR faceName[32];
} FontProperty;Members
bDefault
bool variable, if set true, the subsequence numbers of this structure will be ignored. The font will recover to default.
bUnderLine
bool variable, indicate font whether need underline.
bItalic
bool variable, indicate font whether need italic.
bStrikeout
bool variable, indicate font whether need strikeout.
nWidth
Specifies the average width, in logical units, of characters in the font.
nHeight
Specifies the height, in logical units, of the font's character cell or character.
iCharSet
Specifies the character set.
iWeight
Specifies the weight of the font in the range 0 through 1000.
faceName
Specifies a null-terminated string that specifies the typeface name of the font.
See Also
© 2008 SPRT . All rights reserved.