Construction
CPen | Constructs a CPen object. |
Initialization
CreatePen | Creates a logical cosmetic or geometric pen with the specified style, width, and brush attributes, and attaches it to the CPen object. |
CreatePenIndirect | Creates a pen with the style, width, and color given in a LOGPEN structure, and attaches it to the CPen object. |
Operations
FromHandle | Returns a pointer to a CPen object when given a Windows HPEN. |
Attributes
operator HPEN | Returns the Windows handle attached to the CPen object. |
GetLogPen | Gets a LOGPEN underlying structure. |
GetExtLogPen | Gets an EXTLOGPEN underlying structure. |