aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRenderer.h
diff options
context:
space:
mode:
authorVicent Marti2008-05-03 23:51:24 +0000
committerVicent Marti2008-05-03 23:51:24 +0000
commitd33890f110f40318542c382640f95601a44bdb54 (patch)
tree73801adc0fd495ea90580957e6113255a6b47a4c /graphics/VectorRenderer.h
parent2c71344685670bc37535a46433739a0998b97c3e (diff)
downloadscummvm-rg350-d33890f110f40318542c382640f95601a44bdb54.tar.gz
scummvm-rg350-d33890f110f40318542c382640f95601a44bdb54.tar.bz2
scummvm-rg350-d33890f110f40318542c382640f95601a44bdb54.zip
Rectangle drawing.
svn-id: r31854
Diffstat (limited to 'graphics/VectorRenderer.h')
-rw-r--r--graphics/VectorRenderer.h7
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()
*/