Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
PatternComponent.h File Reference
Include dependency graph for PatternComponent.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::svg::components::PatternComponent
 Parameters for "<pattern>" elements which are not captured by ViewboxComponent and SizedElementComponent. More...
 
struct  donner::svg::components::ComputedPatternComponent
 Computed properties for "<pattern>" elements, after resolving and inheriting values from referenced patterns. 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,.
 

Class Documentation

◆ donner::svg::components::PatternComponent

struct donner::svg::components::PatternComponent

Parameters for "<pattern>" elements which are not captured by ViewboxComponent and SizedElementComponent.

Collaboration diagram for donner::svg::components::PatternComponent:
[legend]
Class Members
optional< Reference > href An optional href to another pattern, which is used to inherit properties from if not by this entity.
optional< PatternContentUnits > patternContentUnits The pattern content units of the pattern, if std::nullopt, the pattern content units are inherited from the parent or defaulted to PatternContentUnits::Default.
optional< PatternUnits > patternUnits The pattern units of the pattern, if std::nullopt, the pattern units are inherited from the parent or defaulted to PatternUnits::Default.
SizedElementProperties sizeProperties Contains the x, y, width, and height properties of the pattern tile rectangle.