Searched refs:with_dir (Results 1 - 1 of 1) sorted by relevance
/inkscape/src/helper/ |
H A D | geom-pathstroke.cpp | 873 typedef void cap_func(Geom::PathBuilder& res, Geom::Path const& with_dir, Geom::Path const& against_dir, double width); 885 void square_cap(Geom::PathBuilder& res, Geom::Path const& with_dir, Geom::Path const& against_dir, double width) argument 888 Geom::Point normal_1 = -Geom::unitTangentAt(Geom::reverse(with_dir.back().toSBasis()), 0.); 890 res.lineTo(with_dir.finalPoint() + normal_1*width); 895 void peak_cap(Geom::PathBuilder& res, Geom::Path const& with_dir, Geom::Path const& against_dir, double width) argument 898 Geom::Point normal_1 = -Geom::unitTangentAt(Geom::reverse(with_dir.back().toSBasis()), 0.); 900 Geom::Point midpoint = ((with_dir.finalPoint() + normal_1*width) + (against_dir.initialPoint() + normal_2*width)) * 0.5; 914 Geom::Path with_dir = half_outline(input, width/2., miter, join); local 917 res.moveTo(with_dir[0].initialPoint()); 918 res.append(with_dir); [all...] |
Completed in 17 milliseconds