This function provides a radial wave effect on the hIGear image.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_FX_radial_wave(
HIGEAR hIGear,
AT_POINT nCenter,
AT_FLOAT fAmplitude,
AT_FLOAT fFrequency,
AT_FLOAT fPhase,
AT_FLOAT fAttenuation,
AT_BOOL bInterpolate,
HIGPIXEL hbkColor,
LPAT_RECT lpRect
);
|
|
| Name | Type | Description |
|---|---|---|
| hIGear | HIGEAR | Image to which to apply the effect. |
| nCenter | AT_POINT | Center of the wave effect, in pixels. |
| fAmplitude | AT_FLOAT | Wave amplitude. Measurement units - pixel / 100. |
| fFrequency | AT_FLOAT | The frequency is defined as 1 / T, where T is a wave period, in pixels. |
| fPhase | AT_FLOAT | Wave phase, in radians. |
| fAttenuation | AT_FLOAT | Wave attenuation. The attenuation factor of the wave is calculated as exp(-attenuation * r), where r is a distance from the wave center to the current wave point. |
| 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. |
Returns the number of ImageGear errors that occurred during this function call.
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: