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

Provides the effect of warping around a parabola on the hIGear image.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_FX_parabola(
        HIGEAR hIGear, 
        AT_POINT Center, 
        AT_FLOAT fHeight,
        AT_INT nRadiusX,
        AT_INT nRadiusY,
        AT_BOOL bInterpolate,
        HIGPIXEL hbkColor, 
        LPAT_RECT lpRect 
);

Arguments:

Name Type Description
hIGear HIGEAR Image to which to apply the effect.
Center AT_POINT Parabola center, in pixels.
fHeight AT_FLOAT Extrusion strength.
nRadiusX AT_INT Radius of the modified area in X direction, in pixels.
nRadiusY AT_INT Radius of the modified area in Y direction, in pixels.
bInterpolate AT_BOOL If TRUE, interpolation is used during processing.
hbkColor HIGPIXEL Background color. It should have the same color space and channel depths as the image to which the effect is applied.
lpRect LPAT_RECT Rectangular area to apply the effect to, or NULL for whole image.

Return Value:

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

Supported Raster Image Formats:

When bInterpolate is FALSE, all pixel formats supported by ImageGear for C and C++, except:

When bInterpolate is TRUE, all pixel formats supported by ImageGear for C and C++, except: