Donner
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::svg::components::FEColorMatrixComponent Struct Reference

Parameters for SVGFEColorMatrixElement. More...

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

Collaboration diagram for donner::svg::components::FEColorMatrixComponent:
[legend]

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: