mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 16:15:39 +00:00
3acd894f37
d13d8e521 Refactoring 4925c87a8 Update 794c38591 Update 49eee9643 Update 914aee5ea Update 3bb00ecee Fix ParserString string-view iterator cast in windows fabea2008 Fix string-view iterator cast in windows bbcf0d34f Update 081df20f2 Update fe3101f91 Refactoring e9a41dc83 Refactoring 637121f89 Update lunasvg.cpp d0abdccb1 Remove Document transformation methods caa4b2410 Fix ft_stroke_border_export assertion 592533914 Fix SW_FT_Outline points overflow #55 0d40b061c Update git-subtree-dir: external/lunasvg git-subtree-split: d13d8e521c21f5f750ef0f6f92163f0131afdd3e
32 lines
623 B
C++
32 lines
623 B
C++
#ifndef SVGELEMENT_H
|
|
#define SVGELEMENT_H
|
|
|
|
#include "graphicselement.h"
|
|
|
|
namespace lunasvg {
|
|
|
|
class TreeBuilder;
|
|
class LayoutSymbol;
|
|
|
|
class SVGElement : public GraphicsElement
|
|
{
|
|
public:
|
|
SVGElement();
|
|
|
|
Length x() const;
|
|
Length y() const;
|
|
Length width() const;
|
|
Length height() const;
|
|
|
|
Rect viewBox() const;
|
|
PreserveAspectRatio preserveAspectRatio() const;
|
|
std::unique_ptr<LayoutSymbol> build(const TreeBuilder* builder) const;
|
|
|
|
void layout(LayoutContext* context, LayoutContainer* current) const;
|
|
std::unique_ptr<Node> clone() const;
|
|
};
|
|
|
|
} // namespace lunasvg
|
|
|
|
#endif // SVGELEMENT_H
|