include/rays/polyline.h in rays-0.1.14 vs include/rays/polyline.h in rays-0.1.15

- old
+ new

@@ -4,10 +4,11 @@ #define __RAYS_POLYLINE_H__ #include <vector> #include <xot/pimpl.h> +#include <rays/defs.h> #include <rays/point.h> #include <rays/bounds.h> namespace Rays @@ -30,10 +31,15 @@ Polyline (const Point* points, size_t size, bool loop = false); ~Polyline (); - bool expand (Polygon* result, coord width) const; + bool expand ( + Polygon* result, + coord width, + CapType cap = CAP_DEFAULT, + JoinType join = JOIN_DEFAULT, + coord miter_limit = JOIN_DEFAULT_MITER_LIMIT) const; Bounds bounds () const; bool loop () const;