The PAINTSHAPEBORDERENDCAP enumerated type contains options for the border endcap of a shape. These are the possible values for the nBorderEndCap member of the PAINTSHAPE structure.
typedef enum
{
PAINT_SHAPE_BORDER_ENDCAP_ROUND,
PAINT_SHAPE_BORDER_ENDCAP_SQUARE,
PAINT_SHAPE_BORDER_ENDCAP_FLAT
} PAINTSHAPEBORDERENDCAP, *pPAINTSHAPEBORDERENDCAP;
Ends of lines are round.
Ends of lines are square and extend past the end point.
Ends of lines are flat and end at the end point.
These values determine the shape of the ends of lines.