summaryrefslogtreecommitdiffstats
path: root/src/sp-guide.h
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2011-05-18 20:04:33 +0000
committerFelipe C. da S. Sanches <juca@members.fsf.org>2011-05-18 20:04:33 +0000
commit7239afff554c14388dd6e930d903beb7bbd8b2ca (patch)
tree84ca0c787e616da36bef10425cc04c3f633a6a37 /src/sp-guide.h
parentMade dependencies explicit and bumped versions. (diff)
downloadinkscape-7239afff554c14388dd6e930d903beb7bbd8b2ca.tar.gz
inkscape-7239afff554c14388dd6e930d903beb7bbd8b2ca.zip
Adding inkscape:label parameter to guidelines so that our guidelanes can display labels (we still dont have a user interface, but files with that parameter will render correctly)
(bzr r10209)
Diffstat (limited to 'src/sp-guide.h')
-rw-r--r--src/sp-guide.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp-guide.h b/src/sp-guide.h
index c53042da5..1dcdbc662 100644
--- a/src/sp-guide.h
+++ b/src/sp-guide.h
@@ -31,6 +31,7 @@ struct SPCanvasGroup;
/* Represents the constraint on p that dot(g.direction, p) == g.position. */
class SPGuide : public SPObject {
public:
+ char* label;
Geom::Point normal_to_line;
Geom::Point point_on_line;
@@ -62,6 +63,7 @@ void sp_guide_create_guides_around_page(SPDesktop *dt);
void sp_guide_moveto(SPGuide &guide, Geom::Point const point_on_line, bool const commit);
void sp_guide_set_normal(SPGuide &guide, Geom::Point const normal_to_line, bool const commit);
+void sp_guide_set_label(SPGuide &guide, char* const label, bool const commit);
void sp_guide_remove(SPGuide *guide);
char *sp_guide_description(SPGuide const *guide, const bool verbose = true);