GDI logical fonts is encapsulated in MFC in the
class. Creation of a font in MFC is a two-step process;
first, the CFont MFC object is created; next, an
initialization function is called to create the underlying
GDI logical font.
initialization functions include CreateFont,
CreateFontIndirect, CreatePointFont, and
A pointer to
a LOGFONT structure can be obtained by calling the
GetLogFont member function. CFont objects can also be used
in place of HFONT handles in GDI function calls thanks to
the presents of the operator HFONT operator function.
UCanCode Advance E-XD++
CAD Drawing and Printing Solution
Source Code Solution for C/C++, .NET V2014 is released!
Contact UCanCode Software
To buy the source code or learn more about with: