46
46
GType sp_guide_get_type();
48
48
SPGuide *sp_guide_create(SPDesktop *desktop, Geom::Point const &pt1, Geom::Point const &pt2);
49
void sp_guide_pt_pairs_to_guides(SPDocument *doc, std::list<std::pair<Geom::Point, Geom::Point> > &pts);
49
void sp_guide_pt_pairs_to_guides(SPDesktop *dt, std::list<std::pair<Geom::Point, Geom::Point> > &pts);
51
52
void sp_guide_show(SPGuide *guide, SPCanvasGroup *group, GCallback handler);
52
53
void sp_guide_hide(SPGuide *guide, SPCanvas *canvas);
53
54
void sp_guide_sensitize(SPGuide *guide, SPCanvas *canvas, gboolean sensitive);
56
57
double sp_guide_distance_from_pt(SPGuide const *guide, Geom::Point const &pt);
57
58
void sp_guide_moveto(SPGuide const &guide, Geom::Point const point_on_line, bool const commit);
58
59
void sp_guide_set_normal(SPGuide const &guide, Geom::Point const normal_to_line, bool const commit);