16#ifndef AEONGUI_SVGSVGELEMENT_H
17#define AEONGUI_SVGSVGELEMENT_H
19#include "SVGGraphicsElement.hpp"
20#include "aeongui/Attribute.hpp"
37 SVGSVGElement (
const DOMString& aTagName, AttributeMap&& aAttributes,
Node* aParent );
49 PreserveAspectRatio mPreserveAspectRatio{};
Abstract 2D rendering surface.
Definition Canvas.hpp:39
Base class for all nodes in the DOM tree.
Definition Node.hpp:40
SVGGraphicsElement(const DOMString &aTagName, AttributeMap &&aAttributes, Node *aParent)
Construct an SVGGraphicsElement.
Definition SVGGraphicsElement.cpp:24
void DrawStart(Canvas &aCanvas) const final
Set up viewport and viewBox, then draw children.
Definition SVGSVGElement.cpp:59
~SVGSVGElement() final
Destructor.
SVGSVGElement(const DOMString &aTagName, AttributeMap &&aAttributes, Node *aParent)
Construct an SVGSVGElement.
Definition SVGSVGElement.cpp:25
SVG viewBox attribute value.
Definition Attribute.hpp:31