SRGraph::GetFont
HFONTSRGraph::GetFont(LPCTSTRstrFontName, intnSize, intnStyle)
Returns an HFONT that has been created and stored in a map. If no font object of that type is available then one is created, assigned to the map and a handle to it returned. In this way a list of fonts can be built that can be used over and over without the need to constantly create and destroy GDI font objects.
Defined in: SRGraph.cpp
Return Value
HFONT which refers to the stored or newly created font.
Parameters
strFontName
LPTCSTR strFontName is the typeface name of the desired font
nSize
int nSize is the font size in points or in absolute pixels.
nStyle
int nStyle is the Objective Chart font style specifier.