PAINTHARDNESS
typedef struct _PAINTHARDNESS
{
PAINTHARDNESSDISTRBTYPE nDistributionType;
L_INT nValue;
} PAINTHARDNESS, L_FAR *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.
pPAINTHARDNESS is a pointer to a PAINTHARDNESS structure.