|
|
Donner 0.5.0
Embeddable browser-grade SVG2 engine
|
#include <optional>#include "donner/base/Length.h"#include "donner/svg/components/filter/FilterEffect.h"#include "donner/svg/components/filter/FilterGraph.h"#include "donner/svg/components/filter/FilterUnits.h"#include "donner/svg/graph/Reference.h"Classes | |
| struct | donner::svg::components::FilterComponent |
| Parameters for a "<filter>" element. More... | |
| struct | donner::svg::components::ComputedFilterComponent |
| Computed filter parameters parsed by FilterSystem, represents the resolved DOM hierarchy of a "<filter>" element. More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
| namespace | donner::svg |
| Donner SVG library, which can load, manipulate and render SVG files. | |
| namespace | donner::svg::components |
| Contains the implementation of the Donner ECS,. | |
| struct donner::svg::components::FilterComponent |
Parameters for a "<filter>" element.
Contains the filter bounds, which determines how large the canvas needs to be when applying the filter, and filter configuration such as units for its parameters.
| Class Members | ||
|---|---|---|
| optional< ColorInterpolationFilters > | colorInterpolationFilters | The parsed value of the "color-interpolation-filters" property, which specifies the color space for filter operations. |
| optional< FilterUnits > | filterUnits | The parsed value of the "filterUnits" attribute, which defines the coordinate system for the x, y, width, and height attributes of the mask. |
| optional< Lengthd > | height | Height of the filter, defaults to 120% (outside of the element itself). |
| optional< Reference > | href | An optional href to another filter, used to inherit attributes and primitive children. |
| optional< PrimitiveUnits > | primitiveUnits | The parsed value of the "primitiveUnits" attribute, which defines the coordinate system for the various attributes of the filter effects. |
| optional< Lengthd > | width | Width of the filter, defaults to 120% (outside of the element itself). |
| optional< Lengthd > | x | The x-coordinate of the filter, defaults to -10% (outside the element itself). |
| optional< Lengthd > | y | The y-coordinate of the filter, defaults to -10% (outside the element itself). |
| struct donner::svg::components::ComputedFilterComponent |
Computed filter parameters parsed by FilterSystem, represents the resolved DOM hierarchy of a "<filter>" element.
| Class Members | ||
|---|---|---|
| ColorInterpolationFilters | colorInterpolationFilters = ColorInterpolationFilters::Default | |
| vector< FilterEffect > | effectChain | Parsed list of effects for backward-compatibility with existing renderer push/pop interface. Will be removed once the graph-based renderer API is complete. |
| FilterGraph | filterGraph | The filter graph built from child filter primitives. |
| FilterUnits | filterUnits = FilterUnits::Default | The computed filter units. |
| Lengthd | height = Lengthd(120.0, Lengthd::Unit::Percent) | The computed height of the filter. |
| PrimitiveUnits | primitiveUnits = PrimitiveUnits::Default | The computed primitive units. The computed color interpolation mode for filter operations. |
| Lengthd | width = Lengthd(120.0, Lengthd::Unit::Percent) | The computed width of the filter. |
| Lengthd | x = Lengthd(-10.0, Lengthd::Unit::Percent) | The computed x-coordinate of the filter. |
| Lengthd | y = Lengthd(-10.0, Lengthd::Unit::Percent) | The computed y-coordinate of the filter. |