Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Encapsulates a Windows graphics device interface (GDI) pen.
class CPen : public CGdiObject
Members
Public Constructors
Name |
Description |
|---|---|
Constructs a CPen object. |
Public Methods
Name |
Description |
|---|---|
Creates a logical cosmetic or geometric pen with the specified style, width, and brush attributes, and attaches it to the CPen object. |
|
Creates a pen with the style, width, and color given in a LOGPEN structure, and attaches it to the CPen object. |
|
Returns a pointer to a CPen object when given a Windows HPEN. |
|
Gets an EXTLOGPEN underlying structure. |
|
Gets a LOGPEN underlying structure. |
Public Operators
Name |
Description |
|---|---|
Returns the Windows handle attached to the CPen object. |
Remarks
For more information on using CPen, see Graphic Objects.
Inheritance Hierarchy
CPen
Requirements
Header: afxwin.h