Searched refs:pt1 (Results 1 - 9 of 9) sorted by relevance
/inkscape/src/ |
H A D | line-geometry.h | 52 inline static bool pts_coincide (Geom::Point const pt1, Geom::Point const pt2) argument 54 return (Geom::L2 (pt2 - pt1) < epsilon);
|
H A D | sp-guide.h | 58 static SPGuide *createSPGuide(SPDocument *doc, Geom::Point const &pt1, Geom::Point const &pt2);
|
H A D | transf_mat_3x4.cpp | 122 Proj::Pt2 pt1 = column(Proj::axes[i]); local 124 if (pt1 != pt2) {
|
H A D | sp-guide.cpp | 199 SPGuide *SPGuide::createSPGuide(SPDocument *doc, Geom::Point const &pt1, Geom::Point const &pt2) argument 205 Geom::Point n = Geom::rot90(pt2 - pt1); 208 double newx = pt1.x(); 209 double newy = pt1.y();
|
H A D | vanishing-point.cpp | 708 boost::optional<Geom::Point> pt1, pt2, pt3, pt4; local 712 pt1 = pl.intersection_with_viewbox(desktop); 723 if (!pt1 || !pt2 || !pt3 || !pt4) { 729 this->addLine(corner1, *pt1, type);
|
/inkscape/src/live_effects/ |
H A D | lpe-attach-path.cpp | 112 Geom::Point pt1 = Geom::Point(start_path_curve_start.getVector().length() * cos(startangle + startderiv), start_path_curve_start.getVector().length() * sin(startangle + startderiv)); local 115 p.appendNew<Geom::CubicBezier>(-pt2 + derivs_2[0], -pt1 + this_pathv.front().initialPoint(), this_pathv.front().initialPoint()); 168 Geom::Point pt1 = Geom::Point(end_path_curve_start.getVector().length() * cos(startangle + startderiv), end_path_curve_start.getVector().length() * sin(startangle + startderiv)); local 170 p.appendNew<Geom::CubicBezier>(-pt1 + this_pathv.front().finalPoint(), -pt2 + derivs_2[0], derivs_2[0]);
|
H A D | lpe-rough-hatches.cpp | 457 Point pt1 = linearSnake[comp][i+1]; local 458 Point new_pt = (pt0+pt1)/2; 480 Point new_hdle_in = new_pt + (pt0-pt1) * (scale_in /2.); 481 Point new_hdle_out = new_pt - (pt0-pt1) * (scale_out/2.); 484 //double scaled_width = double((is_top ? stroke_width_top : stroke_width_bot))/(pt1[X]-pt0[X]); 485 //double scaled_width = 1./(pt1[X]-pt0[X]); 486 //Point hdle_offset = (pt1-pt0)*scaled_width; 494 inside_hdle_in += (pt1-pt0)/2*( double((is_top ? front_thickness : back_thickness)) / (pt1[X]-pt0[X]) ); 495 inside_hdle_out -= (pt1 [all...] |
/inkscape/share/extensions/ |
H A D | pixelsnap.py | 128 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)
|
/inkscape/src/2geom/ |
H A D | d2-sbasis.cpp | 177 Point pt1 = f.segs[cur ].at0(); local 178 if (tol<=0 || L2sq(pt0-pt1)<tol*tol){ 179 pt0 = (pt0+pt1)/2;
|
Completed in 27 milliseconds