diff --git a/src/sp-guide.h b/src/sp-guide.h
index 78c795f837f245d53bf3e7c61b19988e7f79791d..6bf541cd1e562a32287fd87c9655a196011e2e6f 100644 (file)
--- a/src/sp-guide.h
+++ b/src/sp-guide.h
#include <vector>
#include "display/display-forward.h"
-#include "libnr/nr-point.h"
+#include <2geom/point.h>
#include "sp-object.h"
#include "sp-guide-attachment.h"
/* Represents the constraint on p that dot(g.direction, p) == g.position. */
struct SPGuide : public SPObject {
- NR::Point normal_to_line;
+ Geom::Point normal_to_line;
Geom::Point point_on_line;
guint32 color;
void sp_guide_hide(SPGuide *guide, SPCanvas *canvas);
void sp_guide_sensitize(SPGuide *guide, SPCanvas *canvas, gboolean sensitive);
-Geom::Point sp_guide_position_from_pt(SPGuide const *guide, NR::Point const &pt);
+Geom::Point sp_guide_position_from_pt(SPGuide const *guide, Geom::Point const &pt);
double sp_guide_distance_from_pt(SPGuide const *guide, Geom::Point const &pt);
void sp_guide_moveto(SPGuide const &guide, Geom::Point const point_on_line, bool const commit);
void sp_guide_set_normal(SPGuide const &guide, Geom::Point const normal_to_line, bool const commit);
void sp_guide_remove(SPGuide *guide);
-char *sp_guide_description(SPGuide const *guide);
+char *sp_guide_description(SPGuide const *guide, const bool verbose = true);
#endif /* !SP_GUIDE_H */