A single node in the filter graph, representing one filter primitive. More...
#include "donner/svg/components/filter/FilterGraph.h"
Public Attributes | |
| FilterPrimitive | primitive |
| The filter primitive operation. | |
| std::vector< FilterInput > | inputs |
| Input(s) to this primitive. A slot this list leaves unpopulated resolves exactly like an unspecified in/in2 attribute: to the previous primitive's result, and to SourceGraphic only when the node is the first primitive in the graph. A Composite, Blend, or DisplacementMap node built with a single input therefore reads the previous result as its second input, never the source graphic. | |
| std::optional< RcString > | result |
| Named output (for result attribute). | |
| std::optional< Lengthd > | x |
| Primitive subregion X. | |
| std::optional< Lengthd > | y |
| Primitive subregion Y. | |
| std::optional< Lengthd > | width |
| Primitive subregion width. | |
| std::optional< Lengthd > | height |
| Primitive subregion height. | |
| std::array< std::shared_ptr< const ContextualLengthRecipe >, 4 > | animatedRegion {} |
| Immutable deferred x/y/width/height stacks, evaluated in the executing filter's context. | |
| std::optional< ColorInterpolationFilters > | colorInterpolationFilters |
| Per-primitive color-interpolation-filters. When set, overrides the graph-level default. | |
A single node in the filter graph, representing one filter primitive.
Nodes are executed in document order. Each node reads from its inputs (which may be standard inputs like SourceGraphic, or outputs of prior nodes), applies its primitive operation, and writes to an output buffer.