typedef struct _PAINTTOUCH
{
PAINTTOUCHSHAPE nShape;
PAINTTOUCHCONTENTS nContentsType;
COLORREF crColor;
pBITMAPHANDLE pBitmap;
COLORREF crTransparentColor;
} PAINTTOUCH, *pPAINTTOUCH;
The PAINTTOUCH structure contains information about a single paintbrush touch on the painting canvas. A paintbrush stroke is constructed from multiple paintbrush touches.
An enumeration type that controls the shape of the cross-section (tip) of the brush. For a list of possible values, refer to PAINTTOUCHSHAPE.
An enumeration type that indicates the contents of the paintbrush. For a list of possible values, refer to PAINTTOUCHCONTENTS.
The COLORREF value that specifies the color to use for the paintbrush when nContentsType is PAINT_TOUCH_CONTENTS_COLOR.
Pointer to the bitmap handle that references the bitmap that contains the paintbrush image when nContentsType is PAINT_TOUCH_CONTENTS_IMAGE. The BITMAPHANDLE pointer should still be valid after setting this field.
The COLORREF value that specifies the transparent color of the paintbrush image.
pPAINTTOUCH is a pointer to a PAINTTOUCH structure.