ES-DE/source/svgelement.h
Leon Styhre 0d52738239 Squashed 'external/lunasvg/' changes from d13d8e521..e0f786c9b
e0f786c9b Fix parseStyle
REVERT: d13d8e521 Refactoring
REVERT: 4925c87a8 Update
REVERT: 794c38591 Update
REVERT: 49eee9643 Update
REVERT: 914aee5ea Update
REVERT: 3bb00ecee Fix ParserString string-view iterator cast in windows
REVERT: fabea2008 Fix string-view iterator cast in windows
REVERT: bbcf0d34f Update
REVERT: 081df20f2 Update
REVERT: fe3101f91 Refactoring
REVERT: e9a41dc83 Refactoring

git-subtree-dir: external/lunasvg
git-subtree-split: e0f786c9be6fae1ffabddfe56fb1e0a1a7eb775d
2022-10-03 23:55:09 +02:00

32 lines
637 B
C++

#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<LayoutSymbol> layoutDocument(const ParseDocument* document) const;
void layout(LayoutContext* context, LayoutContainer* current) const;
std::unique_ptr<Node> clone() const;
};
} // namespace lunasvg
#endif // SVGELEMENT_H