Code

1) fix snapping while scaling
authordvlierop2 <dvlierop2@users.sourceforge.net>
Thu, 3 Jan 2008 21:37:41 +0000 (21:37 +0000)
committerdvlierop2 <dvlierop2@users.sourceforge.net>
Thu, 3 Jan 2008 21:37:41 +0000 (21:37 +0000)
commit0721326f41e78698936345823f415b2b643eb2ff
tree141618522cfcc3c1d27b2c0c267df0234909059f
parent5994f4ec62cbf2148967d4ba39752aa764468689
1) fix snapping while scaling
2) fix constrained snapping
3) improve snapping logic (again), or more specifically: better obey "always snap"
4) refactoring to reduce risk of bugs: renaming variables and methods for better readability, adding class members instead of using std::pairs, etc.
13 files changed:
src/desktop.cpp
src/display/canvas-axonomgrid.cpp
src/display/canvas-grid.cpp
src/guide-snapper.cpp
src/line-snapper.cpp
src/object-snapper.cpp
src/snap.cpp
src/snapped-line.cpp
src/snapped-line.h
src/snapped-point.cpp
src/snapped-point.h
src/snapper.cpp
src/snapper.h