PAINTHARDNESS

typedef struct _PAINTHARDNESS 
{ 
   PAINTHARDNESSDISTRBTYPE nDistributionType; 
   L_INT nValue; 
} PAINTHARDNESS, *pPAINTHARDNESS; 

PAINTHARDNESS structure contains information used to control the sharpness of the brush edges.

Members

nDistributionType

An enumerated type that indicates how the color will be distributed throughout the brush cross-section. For a list of possible values, refer to PAINTHARDNESSDISTRBTYPE.

nValue

Value indicating the hardness of the brush. Valid values are 1 to 100. The larger the value, the harder the brush.

Comments

The harder the brush, the more defined the edges of paint will be. With nValue set to 100, the paint stroke has sharply defined edges. As the hardness decreases, the brush edge softens.

image\PntHard.gif

pPAINTHARDNESS is a pointer to a PAINTHARDNESS structure.

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

LEADTOOLS DigitalPaint C++ Class Library Help