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.
Loading...
Searching...
No Matches
donner::svg::components::FEColorMatrixComponent Struct Reference

Parameters for SVGFEColorMatrixElement. More...

#include "donner/svg/components/filter/FilterPrimitiveComponent.h"

Public Types

enum class  Type : std::uint8_t {
  Matrix ,
  Saturate ,
  HueRotate ,
  LuminanceToAlpha
}
 Matrix type. More...

Public Attributes

Type type = Type::Matrix
 Matrix type.
std::vector< double > values
 Matrix values (interpretation depends on type).

Detailed Description

Parameters for SVGFEColorMatrixElement.

Member Enumeration Documentation

◆ Type

Matrix type.

Enumerator
Matrix 

5x4 color matrix (20 values).

Saturate 

Single value 0..1.

HueRotate 

Angle in degrees.

LuminanceToAlpha 

No values.


The documentation for this struct was generated from the following file: