13#include "kritaflake_export.h"
16#include <QDomDocument>
26class KRITAFLAKE_EXPORT
KoMarker :
public QSharedData
47 void setCoordinateSystem(MarkerCoordinateSystem
value);
53 void setReferencePoint(
const QPointF &
value);
56 void setReferenceSize(
const QSizeF &size);
60 void setAutoOrientation(
bool value);
66 void setExplicitOrientation(qreal
value);
75 void paintAtPosition(QPainter *painter,
const QPointF &pos, qreal strokeWidth, qreal nodeAngle);
80 qreal maxInset(qreal strokeWidth)
const;
86 QRectF boundingRect(qreal strokeWidth, qreal nodeAngle)
const;
92 QPainterPath outline(qreal strokeWidth, qreal nodeAngle)
const;
97 void drawPreview(QPainter *painter,
const QRectF &previewRect,
101 void applyShapeStroke(
const KoShape *shape,
KoShapeStroke *stroke,
const QPointF &pos, qreal strokeWidth, qreal nodeAngle);
float value(const T *src, size_t ch)
bool operator==(const KisRegion &lhs, const KisRegion &rhs)
qreal explicitOrientation() const
QSizeF referenceSize() const
QPointF referencePoint() const
bool hasAutoOrientation() const
MarkerCoordinateSystem coordinateSystem() const
QList< KoShape * > shapes() const
Q_DECLARE_METATYPE(KisPaintopLodLimitations)