#ifndef _SEEN_PATH_OUTLINE_H #define _SEEN_PATH_OUTLINE_H #include #include enum LineJoinType { LINEJOIN_STRAIGHT, LINEJOIN_ROUND, LINEJOIN_POINTY, LINEJOIN_REFLECTED, LINEJOIN_EXTRAPOLATED }; namespace Geom { Geom::CubicBezier sbasis_to_cubicbezier(Geom::D2 const & sbasis_in); std::vector split_at_cusps(const Geom::Path& in); } namespace Outline { unsigned bezierOrder (const Geom::Curve* curve_in); std::vector PathVectorOutline(std::vector const & path_in, double line_width, ButtType linecap_type, LineJoinType linejoin_type, double miter_limit); /*Geom::PathVector outlinePath(const Geom::PathVector& path_in, double line_width, LineJoinType join, ButtType butt, double miter_lim, bool extrapolate = false);*/ Geom::Path PathOutsideOutline(Geom::Path const & path_in, double line_width, LineJoinType linejoin_type, double miter_limit); } #endif // _SEEN_PATH_OUTLINE_H