Lines Matching defs:snap
22 #include "snap.h"
23 #include "snap-preferences.h"
341 bool snap = held_shift(*event) ? false : sm.someSnapperMightSnap();
347 snap = false;
385 //if the snap adjustment is activated and it is not bspline
386 if (snap && !_pm()._isBSpline()) {
403 // We should get all possible constraints and snap along them using
504 "<b>Shift+Ctrl+Alt</b>: preserve length and snap rotation angle to %g° "
509 "<b>Ctrl+Alt</b>: preserve length and snap rotation angle to %g° increments"),
525 "<b>Shift+Ctrl</b>: snap rotation angle to %g° increments and rotate both handles"),
532 "<b>Ctrl</b>: snap rotation angle to %g° increments, click to retract"),
1211 // For a note on how snapping is implemented in Inkscape, see snap.h.
1213 // even if we won't really snap, we might still call the one of the
1218 // do not snap when Shift is pressed
1219 bool snap = !held_shift(*event) && sm.someSnapperMightSnap();
1223 if (snap) {
1225 * TODO We are doing this every time a snap happens. It should once be done only once
1227 * TODO Unselected nodes vector must be valid during the snap run, because it is not
1228 * copied. Fix this in snap.h and snap.cpp, then the above.
1284 // We're about to consider a constrained snap, which is already limited to 1D
1291 // also snap to perpendiculars of handle lines
1306 // perpendiculars only snap when they are further than snap increment away
1329 } else if (snap) {
1421 "<b>Shift+Ctrl:</b> drag out a handle and snap its angle "