Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
SymbolComponent.h File Reference
Include dependency graph for SymbolComponent.h:

Classes

struct  donner::svg::components::SymbolComponent
 Stores unique parameters for the "<symbol>" 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,.
 

Class Documentation

◆ donner::svg::components::SymbolComponent

struct donner::svg::components::SymbolComponent

Stores unique parameters for the "<symbol>" element.

refX and refY provide a reference point (if needed) when the symbol is instantiated by a "<use>" element.

Collaboration diagram for donner::svg::components::SymbolComponent:
[legend]
Class Members
SizedElementProperties properties The properties of the sized element, x, y, width, height.
double refX = 0.0 The reference x coordinate.
double refY = 0.0 The reference y coordinate.