Pen Functions (Windows GDI)

The following functions are used with pens.

Function Description
CreatePen Creates a logical pen that has the specified style, width, and color.
CreatePenIndirect Creates a logical cosmetic pen that has the style, width, and color specified in a structure.
ExtCreatePen Creates a logical cosmetic or geometric pen that has the specified style, width, and brush attributes.
SetDCPenColor Sets the current device context pen color.