home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

MFC
Class CFont

CObject
   |
   +--CGdiObject
         |
         +--CFont

   in AFXWIN.H

class CFont
extends CGdiObject


 
Fields inherited from class CGdiObject
m_hObject
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
CFont()
          
virtual ~CFont()
          
 
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!=
   
Methods inherited from class CObject
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize
 

Constructor Detail

CFont

public CFont();

~CFont

public virtual ~CFont();


Method Detail

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;

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.3.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD