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 CPen

CObject
   |
   +--CGdiObject
         |
         +--CPen

   in AFXWIN.H

class CPen
extends CGdiObject

CGdiObject subclasses (drawing tools)


 
Fields inherited from class CGdiObject
m_hObject
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
CPen( int nPenStyle, int nWidth, COLORREF crColor )
          
CPen( int nPenStyle, int nWidth, const LOGBRUSH* pLogBrush, int nStyleCount = 0, const DWORD* lpStyle = NULL )
          
CPen()
          
virtual ~CPen()
          
 
Method Summary
 BOOL CreatePen( int nPenStyle, int nWidth, COLORREF crColor )
          
 BOOL CreatePen( int nPenStyle, int nWidth, const LOGBRUSH* pLogBrush, int nStyleCount = 0, const DWORD* lpStyle = NULL )
          
 BOOL CreatePenIndirect( LPLOGPEN lpLogPen )
          
 static CPen* PASCAL FromHandle( HPEN hPen )
          
 int GetExtLogPen( EXTLOGPEN* pLogPen )
          
 int GetLogPen( LOGPEN* pLogPen )
          
 operator HPEN() 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

CPen

public CPen( int nPenStyle, int nWidth, COLORREF crColor );

CPen

public CPen( int nPenStyle, int nWidth, const LOGBRUSH* pLogBrush, int nStyleCount = 0, const DWORD* lpStyle = NULL );

CPen

public CPen();

~CPen

public virtual ~CPen();


Method Detail

CreatePen

public BOOL CreatePen( int nPenStyle, int nWidth, COLORREF crColor );

CreatePen

public BOOL CreatePen( int nPenStyle, int nWidth, const LOGBRUSH* pLogBrush, int nStyleCount = 0, const DWORD* lpStyle = NULL );

CreatePenIndirect

public BOOL CreatePenIndirect( LPLOGPEN lpLogPen );

FromHandle

public static CPen* PASCAL FromHandle( HPEN hPen );

GetExtLogPen

public int GetExtLogPen( EXTLOGPEN* pLogPen );

GetLogPen

public int GetLogPen( LOGPEN* pLogPen );

HPEN

public operator HPEN() const;

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