diff options
Diffstat (limited to 'graphics/VectorRenderer.h')
-rw-r--r-- | graphics/VectorRenderer.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/VectorRenderer.h b/graphics/VectorRenderer.h index 2f648b9c56..b29a8aa633 100644 --- a/graphics/VectorRenderer.h +++ b/graphics/VectorRenderer.h @@ -74,6 +74,9 @@ public: */ virtual void drawCircle(int x, int y, int r) = 0; + + virtual void drawSquare(int x, int y, int w, int h, bool fill) = 0; + /** * Gets the pixel pitch for the current drawing surface. * Note: This is a real pixel-pitch, not a byte-pitch. @@ -206,12 +209,14 @@ public: /** * @see VectorRenderer::drawLine() */ - void drawLine(int x1, int x2, int y1, int y2); + void drawLine(int x1, int y1, int x2, int y2); void drawCircle(int x, int y, int r) { drawCircleAlg(x, y, r); } + void drawSquare(int x, int y, int w, int h, bool fill); + /** * @see VectorRenderer::setColor() */ |