PAINTHARDNESS

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

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

Member

Description

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Digital Paint C API Help