ImageGear for C and C++ on Windows v19.1 - Updated
AT_MOSAIC_SHADOW_PARAMS
API Reference Guide > Core Component API Reference > Core Component Structures Reference > AT_MOSAIC_SHADOW_PARAMS

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.

Declaration:

 
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;

Structure Members:

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.