mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-12-11 06:55:40 +00:00
28 lines
513 B
C++
28 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
|