ImageGear for C and C++ on Windows v19.1 - Updated
IG_FX_mosaic_tiles
API Reference Guide > Core Component API Reference > Core Component Functions Reference > FX Functions > IG_FX_mosaic_tiles

Provides a 3D mosaic effect on the hIGear image.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_FX_mosaic_tiles(
        HIGEAR hIGear, 
        AT_MOSAIC_FILL_PARAMS* fillParams,  
        AT_MOSAIC_CELL_PARAMS* cellParams,  
        AT_MOSAIC_BORDER_PARAMS* borderParams, 
        AT_MOSAIC_SHADOW_PARAMS* shadowParams, 
        LPAT_RECT lpRect
); 

Arguments:

Name Type Description
hIGear HIGEAR Image to which to apply the effect.
fillParams AT_MOSAIC_FILL_PARAMS* Mosaic fill parameters.
cellParams AT_MOSAIC_CELL_PARAMS* Mosaic cell parameters.
borderParams AT_MOSAIC_BORDER_PARAMS* Mosaic border parameters.
shadowParams AT_MOSAIC_SHADOW_PARAMS* Mosaic shadow parameters.
lpRect LPAT_RECT Rectangular area to which to apply the effect, or NULL for whole image.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++, except:
Indexed RGB – 1 bpp;
Grayscale – 1 bpp;
Indexed RGB with non-grayscale palette.