Searched defs:against_dir (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/helper/
H A Dgeom-pathstroke.cpp873 typedef void cap_func(Geom::PathBuilder& res, Geom::Path const& with_dir, Geom::Path const& against_dir, double width);
875 void flat_cap(Geom::PathBuilder& res, Geom::Path const&, Geom::Path const& against_dir, double) argument
877 res.lineTo(against_dir.initialPoint());
880 void round_cap(Geom::PathBuilder& res, Geom::Path const&, Geom::Path const& against_dir, double width) argument
882 res.arcTo(width / 2., width / 2., 0., true, false, against_dir.initialPoint());
885 void square_cap(Geom::PathBuilder& res, Geom::Path const& with_dir, Geom::Path const& against_dir, double width) argument
889 Geom::Point normal_2 = -against_dir[0].unitTangentAt(0.);
891 res.lineTo(against_dir.initialPoint() + normal_2*width);
892 res.lineTo(against_dir.initialPoint());
895 void peak_cap(Geom::PathBuilder& res, Geom::Path const& with_dir, Geom::Path const& against_dir, doubl argument
915 Geom::Path against_dir = half_outline(input.reversed(), width/2., miter, join); local
[all...]

Completed in 19 milliseconds