PAINTTOUCH

Summary

The PAINTTOUCH structure contains information about a single paintbrush touch on the painting canvas. A paintbrush stroke is constructed from multiple paintbrush touches.

Syntax

typedef struct _PAINTTOUCH 
{ 
   PAINTTOUCHSHAPE nShape; 
   PAINTTOUCHCONTENTS nContentsType; 
   COLORREF crColor; 
   pBITMAPHANDLE pBitmap; 
   COLORREF crTransparentColor; 
} PAINTTOUCH,  *pPAINTTOUCH; 

Members

nShape

An enumeration type that controls the shape of the cross-section (tip) of the brush. For a list of possible values, refer to PAINTTOUCHSHAPE.

nContentsType

An enumeration type that indicates the contents of the paintbrush. For a list of possible values, refer to PAINTTOUCHCONTENTS.

crColor

The COLORREF value that specifies the color to use for the paintbrush when nContentsType is PAINT_TOUCH_CONTENTS_COLOR.

pBitmap

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.

crTransparentColor

The COLORREF value that specifies the transparent color of the paintbrush image.

Comments

image\PntTouch.gif

pPAINTTOUCH is a pointer to a PAINTTOUCH structure.

Usage

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DigitalPaint C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.