<< Return to Main Index

< Return to Class Index

CGXPen::CGXPen

CGXPen();

CGXPen(const tagLOGPEN& logpen);

CGXPen(const CGXPen& pen);

CGXPen(LPCTSTR szDescription);

CGXPen(UINT style, int width, COLORREF color);

logpen

Reference to another LOGPEN object.

pen

Reference to another CGXPen object.

szDescription

Points to a description string. The pen will be initialized through SetDescription(szDescription).

style

Specifies the pen type. See SetStyle for available types.

width

Specifies the pen width.

color

Specifies the pen color. You might pass a system color by using the GXSYSCOLOR macro, as for example GXSYSCOLOR( SYSCOLOR_BTNFACE ).

Remarks

Constructs an empty pen object or initializes it with the specified settings.

See Also

CGXPen::SetStyle

CGXPen

Class Overview | Class Members