16#ifndef AEONGUI_SVGGEOMETRYELEMENT_H
17#define AEONGUI_SVGGEOMETRYELEMENT_H
21#include "SVGGraphicsElement.hpp"
22#include "aeongui/Path.hpp"
60 mutable std::unique_ptr<Path>
mPath;
Abstract 2D rendering surface.
Definition Canvas.hpp:40
Base class for all nodes in the DOM tree.
Definition Node.hpp:42
void DrawStart(Canvas &aCanvas) const final
Draw the geometry path onto the canvas.
Definition SVGGeometryElement.cpp:39
~SVGGeometryElement() override
Destructor.
virtual void RebuildAnimatedPath() const
Rebuild the cached path with animated attribute values.
Definition SVGGeometryElement.hpp:59
SVGGeometryElement(const DOMString &aTagName, AttributeMap &&aAttributes, Node *aParent)
Construct an SVGGeometryElement.
Definition SVGGeometryElement.cpp:29
const Path & GetPath() const
Get the path data for this geometry element.
Definition SVGGeometryElement.hpp:49
std::unique_ptr< Path > mPath
Cached path for this geometry.
Definition SVGGeometryElement.hpp:60
SVGGraphicsElement(const DOMString &aTagName, AttributeMap &&aAttributes, Node *aParent)
Construct an SVGGraphicsElement.
Definition SVGGraphicsElement.cpp:27
Abstract base class for renderable path data.
Definition Path.hpp:40