Freigeben über


CPen Members

Base Class Members

CObject Members

CGdiObject 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 LOGPEN structure, and attaches it to the CPen object.

Operations

FromHandle

Returns a pointer to a CPen object when given a Windows HPEN.

Attributes

GetExtLogPen

Gets an EXTLOGPEN underlying structure.

GetLogPen

Gets a LOGPEN underlying structure.

operator HPEN

Returns the Windows handle attached to the CPen object.

See Also

Concepts

CPen Class

Hierarchy Chart