#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