NEAREST API CALL
HPEN32 CreatePenIndirect(const LOGPEN32 *pen);
typedef struct tagLOGPEN
lopnColor is the color of the pen, lopnWidth is the width of the pen, if the pen's
width is > 1 but the lopnStyle is not solid, then lopnStyle is ignored and set to
lopnStyle can be one of
PS_ALTERNATE . Check out the source for that they actually mean. Theres also
a set of flags and masks that can be found in lopnStyle as well that set the end and join styles
of lines drawn with a pen, they are
PS_TYPE_MASK, again check out the source to figure these out.
This operation adds an entry for itself in the object list.