|
|
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.
|
Defines a filter primitive that applies a matrix transformation on color values.
This element supports four modes: a direct 5x4 matrix, a saturation adjustment, a hue rotation, and a luminance-to-alpha conversion.
Example usage:
| Attribute | Default | Description |
|---|---|---|
| type | matrix | One of matrix, saturate, hueRotate, luminanceToAlpha. |
| values | (none) | Matrix values or scalar parameter depending on type. |
Inherits standard filter primitive attributes (in, result, x, y, width, height) from donner::svg::SVGFilterPrimitiveStandardAttributes.