Searched refs:pt2 (Results 1 - 7 of 7) sorted by relevance

/inkscape/src/
H A Dline-geometry.h52 inline static bool pts_coincide (Geom::Point const pt1, Geom::Point const pt2) argument
54 return (Geom::L2 (pt2 - pt1) < epsilon);
H A Dsp-guide.h58 static SPGuide *createSPGuide(SPDocument *doc, Geom::Point const &pt1, Geom::Point const &pt2);
H A Dtransf_mat_3x4.cpp123 Proj::Pt2 pt2 = rhs.column(Proj::axes[i]); local
124 if (pt1 != pt2) {
H A Dvanishing-point.cpp708 boost::optional<Geom::Point> pt1, pt2, pt3, pt4; local
715 pt2 = pl.intersection_with_viewbox(desktop);
723 if (!pt1 || !pt2 || !pt3 || !pt4) {
730 this->addLine(corner2, *pt2, type);
H A Dsp-guide.cpp199 SPGuide *SPGuide::createSPGuide(SPDocument *doc, Geom::Point const &pt1, Geom::Point const &pt2) argument
205 Geom::Point n = Geom::rot90(pt2 - pt1);
/inkscape/src/live_effects/
H A Dlpe-attach-path.cpp113 Geom::Point pt2 = Geom::Point(start_path_curve_end.getVector().length() * cos(endangle + endderiv), start_path_curve_end.getVector().length() * sin(endangle + endderiv)); local
115 p.appendNew<Geom::CubicBezier>(-pt2 + derivs_2[0], -pt1 + this_pathv.front().initialPoint(), this_pathv.front().initialPoint());
169 Geom::Point pt2 = Geom::Point(end_path_curve_end.getVector().length() * cos(endangle + endderiv), end_path_curve_end.getVector().length() * sin(endangle + endderiv)); local
170 p.appendNew<Geom::CubicBezier>(-pt1 + this_pathv.front().finalPoint(), -pt2 + derivs_2[0], derivs_2[0]);
/inkscape/share/extensions/
H A Dpixelsnap.py128 def vertical(pt1, pt2):
129 hlen = abs(pt1[0] - pt2[0])
130 vlen = abs(pt1[1] - pt2[1])
137 def horizontal(pt1, pt2):
138 hlen = round(abs(pt1[0] - pt2[0]), Precision)
139 vlen = round(abs(pt1[1] - pt2[1]), Precision)

Completed in 27 milliseconds