#ifndef SVGELEMENT_H #define SVGELEMENT_H #include "graphicselement.h" namespace lunasvg { class ParseDocument; 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 layoutDocument(const ParseDocument* document) const; void layout(LayoutContext* context, LayoutContainer* current) const; std::unique_ptr clone() const; }; } // namespace lunasvg #endif // SVGELEMENT_H