Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
RectComponent.h File Reference
Include dependency graph for RectComponent.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::svg::components::RectProperties
 Parameters for a <rect> element. More...
struct  donner::svg::components::ComputedRectComponent
 Computed properties for a <rect> element, which applies values from the CSS cascade. More...
struct  donner::svg::components::RectComponent
 Parameters for a <rect> 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,.

Functions

ParseResult< bool > donner::svg::components::ParseRectPresentationAttribute (EntityHandle handle, std::string_view name, const parser::PropertyParseFnParams &params)
 Parse presentation attributes for a <rect> element, such as x, y, width, height, rx, ry.

Class Documentation

◆ donner::svg::components::RectComponent

struct donner::svg::components::RectComponent

Parameters for a <rect> element.

Class Members
RectProperties properties The properties of the rectangle.