Name
PolarDistortBrush -- apply polar distortion to brush (V5.0)
Synopsis
PolarDistortBrush(id[, rmax, rmin, cx, cy, start, end, smooth])
Function
This command can be used to apply polar distortion to the brush specified in id. The optional arguments can be used to control the parameters for the polar distortion. The rmin and rmax arguments specify the minimum and maximum radii to use. cx and cy can be used to specify the center point for the distortion. Both the radius values and the center point must be specified in pixels. start and end specify the start and end angles for the polar distortion. Finally, the optional argument smooth can be used to enable antialiased pixel interpolation which leads to a smoother appearance but takes longer to calculate.

Inputs
id
brush that shall be distorted
rmax
optional: maximum radius (defaults to brush diagonal divided by 2)
rmin
optional: minimum radius (defaults to 0)
cx
optional: x coordinate of center point (defaults to half of brush width)
cy
optional: y coordinate of center point (defaults to half of brush height)
start
optional: start angle (defaults to -180)
end
optional: end angle (defaults to 180)
smooth
optional: whether or not anti-aliased distortion shall be used (defaults to False)

Show TOC