ES-DE/source/maskelement.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

29 lines
513 B
C++

#ifndef MASKELEMENT_H
#define MASKELEMENT_H
#include "styledelement.h"
namespace lunasvg {
class LayoutMask;
class MaskElement : public StyledElement
{
public:
MaskElement();
Length x() const;
Length y() const;
Length width() const;
Length height() const;
Units maskUnits() const;
Units maskContentUnits() const;
std::unique_ptr<LayoutMask> getMasker(LayoutContext* context) const;
std::unique_ptr<Node> clone() const;
};
} // namespace lunasvg
#endif // MASKELEMENT_H