|
|
Donner
Embeddable browser-grade SVG2 engine
|
Parameters for a feFuncR/G/B/A child element within feComponentTransfer. More...
#include "donner/svg/components/filter/FilterPrimitiveComponent.h"
Public Types | |
| enum class | Channel : std::uint8_t { R , G , B , A } |
| Which channel this function applies to. | |
| enum class | FuncType : std::uint8_t { Identity , Table , Discrete , Linear , Gamma } |
| Transfer function type. More... | |
Public Member Functions | |
| FEFuncComponent (Channel ch) | |
Public Attributes | |
| Channel | channel |
| Which channel this applies to. | |
| FuncType | type = FuncType::Identity |
| Transfer function type. | |
| std::vector< double > | tableValues |
| Values for table/discrete types. | |
| double | slope = 1.0 |
| Slope for linear type. | |
| double | intercept = 0.0 |
| Intercept for linear type. | |
| double | amplitude = 1.0 |
| Amplitude for gamma type. | |
| double | exponent = 1.0 |
| Exponent for gamma type. | |
| double | offset = 0.0 |
| Offset for gamma type. | |
Parameters for a feFuncR/G/B/A child element within feComponentTransfer.
Each func element defines a transfer function for one RGBA channel.
|
strong |