<< Return to Main Index

< Return to Class Index

CGXPen Class Members

Construction

CGXPen Constructs a pen object.

Operations

operator= Copies the pen object.
operator== Compares two pen objects.
SetDescription Initializes the pen through a description string.
GetDescription Returns the description string for a pen. This string can be written to profile.

Attributes

SetInclude Sets or resets the include bit.
GetInclude Returns the include bit.
SetStyle Specifies the pen type.
GetStyle Returns the pen type.
SetWidth Specifies the pen width.
GetWidth Returns the pen width.
SetColor Specifies the pen color. You might pass a system color by using the GXSYSCOLOR macro, as for example GXSYSCOLOR( SYSCOLOR_BTNFACE ).
GetColor Returns the pen color. If it is a system color (e.g., SYSCOLOR_BTNFACE), the actual system setting will be returned.
GetColorNA Returns the pen color. System colors will not be converted.
GetPenKey Returns an 8-Byte binary id for the pen object.

CGXPen

Class Overview