#define ORBI_CANVAS_H_
#include "Color.h"
+#include "Rect.h"
#include "Texture.h"
#include "Vector.h"
void Outline();
void Line(Vector<int> from, Vector<int> to);
- void FillRect(Vector<int> pos, Vector<int> size);
- void OutlineRect(Vector<int> pos, Vector<int> size);
+ void FillRect(Rect<int>);
+ void OutlineRect(Rect<int>);
+ void OutlineRectRot(Rect<float>, Vector<float> origin, float rot);
+
+ void FillRect(Vector<int> pos, Vector<int> size) {
+ FillRect(Rect<int>(pos, size));
+ }
+ void OutlineRect(Vector<int> pos, Vector<int> size) {
+ OutlineRect(Rect<int>(pos, size));
+ }
void Dot(Vector<int> pos);
void Cross(Vector<int> pos, int extent);