void SRGraphTitle::SetLogFont(LOGFONT * v)
Initializes the LOGFONT used in this object
Sets the face name, font size, and font style from the LOGFONT data so that the font caching system will identify a new font.
If you subsequently change the LOGFONT data, you must also change one of these identifying styles to force the a new font to be created in the font cache.
Currently, only bits 0-6 of the font style are used, so you could do something like if(bFontChanged)
{
int nStyle = pC->GetFontStyle();
pC->SetFontStyle(nStyle+1024);
}
Defined in: SRGraphTitle.cpp
Parameters
v
Pointer to a LOGFONT structure that describes the desired font