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