MFC
Class CFont
CObject
|
+--CGdiObject
|
+--CFont
in AFXWIN.H
- class CFont
- extends CGdiObject
|
Method Summary |
BOOL |
CreateFont( int nHeight, int nWidth, int nEscapement, int nOrientation, int nWeight, BYTE bItalic, BYTE bUnderline, BYTE cStrikeOut, BYTE nCharSet, BYTE nOutPrecision, BYTE nClipPrecision, BYTE nQuality, BYTE nPitchAndFamily, LPCTSTR lpszFacename )
|
BOOL |
CreateFontIndirect( const LOGFONT* lpLogFont )
|
BOOL |
CreatePointFont( int nPointSize, LPCTSTR lpszFaceName, CDC* pDC = NULL )
|
BOOL |
CreatePointFontIndirect( const LOGFONT* lpLogFont, CDC* pDC = NULL )
|
static CFont* PASCAL |
FromHandle( HFONT hFont )
|
int |
GetLogFont( LOGFONT* pLogFont )
|
operator |
HFONT() const
|
| Methods inherited from class CGdiObject |
HGDIOBJ, GetSafeHandle, FromHandle, DeleteTempMap, Attach, Detach, DeleteObject, GetObject, GetObjectType, CreateStockObject, UnrealizeObject, operator==, operator!= |
CFont
public CFont();
~CFont
public virtual ~CFont();
CreateFont
public BOOL CreateFont( int nHeight, int nWidth, int nEscapement, int nOrientation, int nWeight, BYTE bItalic, BYTE bUnderline, BYTE cStrikeOut, BYTE nCharSet, BYTE nOutPrecision, BYTE nClipPrecision, BYTE nQuality, BYTE nPitchAndFamily, LPCTSTR lpszFacename );
CreateFontIndirect
public BOOL CreateFontIndirect( const LOGFONT* lpLogFont );
CreatePointFont
public BOOL CreatePointFont( int nPointSize, LPCTSTR lpszFaceName, CDC* pDC = NULL );
CreatePointFontIndirect
public BOOL CreatePointFontIndirect( const LOGFONT* lpLogFont, CDC* pDC = NULL );
FromHandle
public static CFont* PASCAL FromHandle( HFONT hFont );
GetLogFont
public int GetLogFont( LOGFONT* pLogFont );
HFONT
public operator HFONT() const;