|
|
Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
|
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 | Maximum displacement in user units. |
| 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.