47 void setSnapTolerance(
int snapTolerance );
65 void setSnapToGrid(
bool enabled );
83 QPointF snapPoint( QPointF point,
double scaleFactor,
bool &snapped
SIP_OUT,
bool snapHorizontal =
true,
bool snapVertical =
true )
const;
104 QRectF snapRect(
const QRectF &rect,
double scaleFactor,
bool &snapped
SIP_OUT,
bool snapHorizontal =
true,
bool snapVertical =
true )
const;
122 QRectF snapRectWithResize(
const QRectF &rect,
double scaleFactor,
bool &snapped
SIP_OUT,
bool snapHorizontal =
true,
bool snapVertical =
true )
const;
138 QPointF snapPointToGrid( QPointF point,
double scaleFactor,
bool &snappedX
SIP_OUT,
bool &snappedY
SIP_OUT )
const;
155 QPointF snapPointsToGrid(
const QList< QPointF > &points,
double scaleFactor,
bool &snappedX
SIP_OUT,
bool &snappedY
SIP_OUT )
const;
160 bool mSnapToGrid =
false;