Share via


CPen Class Members

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 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 underlying structure.
GetExtLogPen Gets an underlying structure.

CPen OverviewBase Class MembersHierarchy Chart