45 void setSnapTolerance(
int snapTolerance );
63 void setSnapToGrid(
bool enabled );
81 QPointF snapPoint( QPointF point,
double scaleFactor,
bool &snapped
SIP_OUT,
bool snapHorizontal =
true,
bool snapVertical =
true )
const;
102 QRectF snapRect(
const QRectF &rect,
double scaleFactor,
bool &snapped
SIP_OUT,
bool snapHorizontal =
true,
bool snapVertical =
true )
const;
120 QRectF snapRectWithResize(
const QRectF &rect,
double scaleFactor,
bool &snapped
SIP_OUT,
bool snapHorizontal =
true,
bool snapVertical =
true )
const;
136 QPointF snapPointToGrid( QPointF point,
double scaleFactor,
bool &snappedX
SIP_OUT,
bool &snappedY
SIP_OUT )
const;
153 QPointF snapPointsToGrid(
const QList<QPointF> &points,
double scaleFactor,
bool &snappedX
SIP_OUT,
bool &snappedY
SIP_OUT )
const;
157 bool mSnapToGrid =
false;