CONTAINERPAINTDATA

typedef struct CONTAINERPAINTDATA 
{ 
   pBITMAPHANDLE pBitmap ; 
   HPALETTE hRestrictionPalette ; 
} CONTAINERPAINTDATA, *pCONTAINERPAINTDATA ; 

The CONTAINERPAINTDATA contains information used when adding a new container during automated digital painting.

Members

pBITMAPHANDLE pBitmap

Pointer to the bitmap pBITMAPHANDLE that references the bitmap on which the drawing will occur. This member should be a valid LEAD bitmap handle: otherwise, all the paint automation functions will return an error.

HPALETTE hRestrictionPalette

The restriction HPALETTE will be used by the automation to restrict the painting output to the colors nearest to those found in this palette. If this member is NULL, no color restriction will be made by the toolkit.

The toolkit will copy the given handle; therefore, the user can delete the handle after the function call ends.

Comments

This structure will be used only by the automated digital painting functions.

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

LEADTOOLS Container and Automation C API Help