Applies a Gaussian blur effect to an input source.
The BlurFX class performs a Gaussian blur, or approximation thereof, on the input source. The Gaussian blur kernel is an approximation of the normalized convolution G(x,y) = H(x)I(y)
where H(x) = exp(-x2/ (2s2)) / sqrt(2* pi*s2)
and I(y) = exp(-y2/ (2t2)) / sqrt(2* pi*t2)
with 's' being the standard deviation in the x direction and 't' being the standard deviation in the y direction, as specified by SX and SY.
At least one of SX or SY should be greater than 0, otherwise no rendering is performed.
The BlurFX class consists of the following fields:
The following actions are currently supported:
Name | Comment | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Draw | Draws object graphics to drawable areas. | |||||||||||
ERR acDraw(*Object, DOUBLE X, DOUBLE Y, DOUBLE Width, DOUBLE Height)
|
Class Info | |
---|---|
ID | ID_BLURFX |
Category | Graphics |
Include | modules/blurfx.h |
Version | 1 |