CPen Member Functions

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
GetLogPen Gets a LOGPEN underlying structure.

See Also

CPen Overview, Graphical Drawing Object Classes