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:
Access | Name | Type | Comment |
---|---|---|---|
SX | DOUBLE | The standard deviation of the blur on the x axis. | |
The (SX,SY) field values define the standard deviation of the gaussian blur along each axis. If either value is 0 or less, the effect is disabled on that axis. | |||
SY | DOUBLE | The standard deviation of the blur on the x axis. | |
The (SX,SY) field values define the standard deviation of the gaussian blur along each axis. If either value is 0 or less, the effect is disabled on that axis. | |||
XMLDef | STRING | Returns an SVG compliant XML string that describes the effect. |
The following actions are currently supported:
Draw | Draws object graphics to drawable areas. | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
ERR acDraw(*Object, DOUBLE X, DOUBLE Y, DOUBLE Width, DOUBLE Height)
|