include/rays/painter.h in rays-0.1.46 vs include/rays/painter.h in rays-0.1.47

- old
+ new

@@ -63,12 +63,22 @@ bool painting () const; void clear (); - void polygon (const Polygon& polygon); + void polygon ( + const Polygon& polygon, coord x = 0, coord y = 0); + void polygon ( + const Polygon& polygon, const Point& position); + + void polygon ( + const Polygon& polygon, coord x, coord y, coord width, coord height); + + void polygon ( + const Polygon& polygon, const Bounds& bounds); + void line (coord x1, coord y1, coord x2, coord y2); void line (const Point& p1, const Point& p2); void line (const Point* points, size_t size, bool loop = false); @@ -202,9 +212,13 @@ const Color& stroke () const; void set_stroke_width (coord width); coord stroke_width () const; + + void set_stroke_outset (float outset); + + float stroke_outset () const; void set_stroke_cap (CapType cap); CapType stroke_cap () const;