summaryrefslogtreecommitdiffstats
path: root/src/guide-snapper.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2008-12-14 20:49:00 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2008-12-14 20:49:00 +0000
commitf643622c05d698103b68a0af90b96fadb021f815 (patch)
tree69f647af0776d8896263ee9c6694d1a64e649f32 /src/guide-snapper.h
parentFilter quality setting revised, seems to not crash when viewing filters.svg (diff)
downloadinkscape-f643622c05d698103b68a0af90b96fadb021f815.tar.gz
inkscape-f643622c05d698103b68a0af90b96fadb021f815.zip
1) snap midpoints of line segments (both as source and as target)
2) snap intersections within a single shape (as source; as target was already implemented) (bzr r7008)
Diffstat (limited to 'src/guide-snapper.h')
-rw-r--r--src/guide-snapper.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guide-snapper.h b/src/guide-snapper.h
index a7798c72f..f36d03499 100644
--- a/src/guide-snapper.h
+++ b/src/guide-snapper.h
@@ -10,7 +10,7 @@
* Frank Felfe <innerspace@iname.com>
* Carl Hetherington <inkscape@carlh.net>
*
- * Copyright (C) 1999-2002 Authors
+ * Copyright (C) 1999-2002 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
@@ -28,11 +28,11 @@ namespace Inkscape
class GuideSnapper : public LineSnapper
{
public:
- GuideSnapper(SnapManager const *sm, Geom::Coord const d);
+ GuideSnapper(SnapManager *sm, Geom::Coord const d);
bool ThisSnapperMightSnap() const;
private:
- LineList _getSnapLines(Geom::Point const &p) const;
+ LineList _getSnapLines(Geom::Point const &p) const;
void _addSnappedLine(SnappedConstraints &sc, Geom::Point const snapped_point, Geom::Coord const snapped_distance, Geom::Point const normal_to_line, Geom::Point const point_on_line) const;
};