|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Uses the pixel values from a second input to spatially displace the first input image.
This element is defined within a <filter> element, and is combined with other filter primitives to define a filter applied on the input image.
Example usage:
| Attribute | Default | Description |
|---|---|---|
| scale | 0 | Displacement scale factor in user units; normalized channel values map to offsets from -scale/2 through +scale/2. |
| xChannelSelector | A | Channel (R, G, B, A) of in2 used for x displacement. |
| yChannelSelector | A | Channel (R, G, B, A) of in2 used for y displacement. |
Inherits standard filter primitive attributes (in, in2, result, x, y, width, height) from donner::svg::SVGFilterPrimitiveStandardAttributes.