ES-DE/source/useelement.h
Leon Styhre 32546b5874 Squashed 'external/lunasvg/' content from commit 7417baa0a
git-subtree-dir: external/lunasvg
git-subtree-split: 7417baa0aff477f361e44e2aa793fdb0c7aae352
2022-10-03 18:25:42 +02:00

27 lines
515 B
C++

#ifndef USEELEMENT_H
#define USEELEMENT_H
#include "graphicselement.h"
namespace lunasvg {
class UseElement : public GraphicsElement
{
public:
UseElement();
Length x() const;
Length y() const;
Length width() const;
Length height() const;
std::string href() const;
void transferWidthAndHeight(Element* element) const;
void layout(LayoutContext* context, LayoutContainer* current) const;
std::unique_ptr<Node> clone() const;
};
} // namespace lunasvg
#endif // USEELEMENT_H