include/rays/painter.h in rays-0.1.7 vs include/rays/painter.h in rays-0.1.8
- old
+ new
@@ -11,10 +11,14 @@
namespace Rays
{
+ struct Coord2;
+
+ struct Coord3;
+
struct Point;
struct Bounds;
struct Color;
@@ -61,9 +65,17 @@
void clear ();
void line (coord x1, coord y1, coord x2, coord y2);
void line (const Point& p1, const Point& p2);
+
+ void lines (const Coord2* points, size_t size);
+
+ void lines (const Coord3* points, size_t size);
+
+ void polygon (const Coord2* points, size_t size);
+
+ void polygon (const Coord3* points, size_t size);
void rect (coord x, coord y, coord width, coord height);
void rect (const Bounds& bounds);