AeonGUI
A portable video game graphic user interface library.
Loading...
Searching...
No Matches
SVGTSpanElement.hpp
1/*
2Copyright (C) 2025,2026 Rodrigo Jose Hernandez Cordoba
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16#ifndef AEONGUI_SVGTSPANELEMENT_H
17#define AEONGUI_SVGTSPANELEMENT_H
18
19#include "SVGTextPositioningElement.hpp"
20namespace AeonGUI
21{
22 namespace DOM
23 {
28 {
29 public:
35 SVGTSpanElement ( const DOMString& aTagName, AttributeMap&& aAttributes, Node* aParent );
37 ~SVGTSpanElement() override;
41 void DrawStart ( Canvas& aCanvas ) const override;
42 private:
43 };
44 }
45}
46#endif
Abstract 2D rendering surface.
Definition Canvas.hpp:39
Base class for all nodes in the DOM tree.
Definition Node.hpp:40
void DrawStart(Canvas &aCanvas) const override
Render the text span onto the canvas.
Definition SVGTSpanElement.cpp:114
~SVGTSpanElement() override
Destructor.
SVGTSpanElement(const DOMString &aTagName, AttributeMap &&aAttributes, Node *aParent)
Construct an SVGTSpanElement.
Definition SVGTSpanElement.cpp:109
SVGTextPositioningElement(const DOMString &aTagName, AttributeMap &&aAttributes, Node *aParent)
Construct an SVGTextPositioningElement.
Definition SVGTextPositioningElement.cpp:25