CFont Member Functions

Construction
CFont Constructs a CFont object.

Initialization
CreateFontIndirect Initializes a CFont object with the characteristics given in a LOGFONT structure.
CreateFont Initializes a CFont with the specified characteristics.
CreatePointFont Initializes a CFont with the specified height, measured in tenths of a point, and typeface.
CreatePointFontIndirect Same as CreateFontIndirect except that the font height is measured in tenths of a point rather than logical units.

Operations
FromHandle Returns a pointer to a CFont object when given a Windows HFONT.

Attributes
GetLogFont Fills a LOGFONT with information about the logical font attached to the CFont object.

See Also

CFont Overview, CFont Operators, Graphical Drawing Object Classes