This structure provides shadow parameters for IG_FX_mosaic_tiles function.
The shadow effect (embossing) is applied after drawing the cell borders. It is applied to the whole image, including cells and borders.
Copy Code
|
|
---|---|
typedef struct tagAT_MOSAIC_SHADOW_PARAMS
{
enumCompass Direction;
AT_BOOL Enabled;
AT_BOOL HighResolution;
AT_FLOAT Intensity;
AT_FLOAT Threshold;
} AT_MOSAIC_SHADOW_PARAMS, * LPAT_MOSAIC_SHADOW_PARAMS;
|
Name | Type | Description |
---|---|---|
Direction | enumCompass (see enumIGDirections) | Shadow direction. |
Enabled | AT_BOOL | Enables or disables the shadow effect. TRUE means that the shadow is enabled. |
HighResolution | AT_BOOL | Set this flag to TRUE to decrease the emboss depth and thus make the embossing effect look a little finer. |
Intensity | AT_FLOAT | Intensity of the shadow effect. Usual range of values is 0.0 to 2.0. |
Threshold | AT_FLOAT | Shadow threshold. This parameter defines the minimum contrast between two neighboring pixels for the shadow to be applied. |