mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-27 00:25:38 +00:00
32 lines
625 B
C
32 lines
625 B
C
|
#ifndef MARKERELEMENT_H
|
||
|
#define MARKERELEMENT_H
|
||
|
|
||
|
#include "graphicselement.h"
|
||
|
|
||
|
namespace lunasvg {
|
||
|
|
||
|
class LayoutMarker;
|
||
|
|
||
|
class MarkerElement : public StyledElement
|
||
|
{
|
||
|
public:
|
||
|
MarkerElement();
|
||
|
|
||
|
Length refX() const;
|
||
|
Length refY() const;
|
||
|
Length markerWidth() const;
|
||
|
Length markerHeight() const;
|
||
|
Angle orient() const;
|
||
|
MarkerUnits markerUnits() const;
|
||
|
|
||
|
Rect viewBox() const;
|
||
|
PreserveAspectRatio preserveAspectRatio() const;
|
||
|
std::unique_ptr<LayoutMarker> getMarker(LayoutContext* context) const;
|
||
|
|
||
|
std::unique_ptr<Node> clone() const;
|
||
|
};
|
||
|
|
||
|
} // namespace lunasvg
|
||
|
|
||
|
#endif // MARKERELEMENT_H
|