MFC
Class CPen
CObject
|
+--CGdiObject
|
+--CPen
in AFXWIN.H
- class CPen
- extends CGdiObject
CGdiObject subclasses (drawing tools)
|
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!= |
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();
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;