PAINTHARDNESS

Summary

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

Syntax

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

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.

Usage

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

LEADTOOLS DigitalPaint C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.