PAINTHARDNESS structure contains information used to control the sharpness of the brush edges.
typedef struct _PAINTHARDNESS
{
PAINTHARDNESSDISTRBTYPE nDistributionType;
L_INT nValue;
} PAINTHARDNESS, *pPAINTHARDNESS;
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.
Value indicating the hardness of the brush. Valid values are 1 to 100. The larger the value, the harder the brush.
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.