summaryrefslogtreecommitdiffstats
path: root/src/sp-guide.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-12-19 00:01:46 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-12-19 00:01:46 +0000
commit0b00c1f72ff8717f41b39334672e9386e4523a4f (patch)
treeeea2e7aac8ed7ef79ae249578e1bf802c5c10271 /src/sp-guide.h
parentIntroduce verb, menu item and shortcut for the global snapping toggle (diff)
downloadinkscape-0b00c1f72ff8717f41b39334672e9386e4523a4f.tar.gz
inkscape-0b00c1f72ff8717f41b39334672e9386e4523a4f.zip
rename guide parameters to match snapping code naming convention.
start conversion to use point_on_line instead of position. (bzr r4257)
Diffstat (limited to 'src/sp-guide.h')
-rw-r--r--src/sp-guide.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sp-guide.h b/src/sp-guide.h
index 534992174..aa3464918 100644
--- a/src/sp-guide.h
+++ b/src/sp-guide.h
@@ -26,7 +26,8 @@
/* Represents the constraint on p that dot(g.direction, p) == g.position. */
struct SPGuide : public SPObject {
- NR::Point normal;
+ NR::Point normal_to_line;
+ Geom::Point point_on_line;
gdouble position;
guint32 color;
guint32 hicolor;
@@ -35,7 +36,7 @@ struct SPGuide : public SPObject {
};
struct SPGuideClass {
- SPObjectClass parent_class;
+ SPObjectClass parent_class;
};
GType sp_guide_get_type();