aboutsummaryrefslogtreecommitdiff
path: root/graphics/surface.h
diff options
context:
space:
mode:
authorclone27272012-09-20 13:17:39 -0700
committerclone27272012-09-20 13:17:39 -0700
commit2e4ee0b2d0f687deb16ca18691042de1a21d7410 (patch)
tree18af0d530c316695536bcc79847c8c7af35aa50b /graphics/surface.h
parent2a3ba6ac4ff8d4c03efb94fad8eaa36c9515c6f7 (diff)
parent167768669283620a2a951dcf212890a37cf1d6b8 (diff)
downloadscummvm-rg350-2e4ee0b2d0f687deb16ca18691042de1a21d7410.tar.gz
scummvm-rg350-2e4ee0b2d0f687deb16ca18691042de1a21d7410.tar.bz2
scummvm-rg350-2e4ee0b2d0f687deb16ca18691042de1a21d7410.zip
Merge pull request #275 from clone2727/pegasus
Pegasus engine (The Journeyman Project: Pegasus Prime)
Diffstat (limited to 'graphics/surface.h')
-rw-r--r--graphics/surface.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/surface.h b/graphics/surface.h
index eb8d1ac42e..9c8c040cbf 100644
--- a/graphics/surface.h
+++ b/graphics/surface.h
@@ -153,10 +153,26 @@ struct Surface {
* @param x1 The x coordinate of the end point.
* @param y1 The y coordinate of the end point.
* @param color The color of the line.
+ * @note This is just a wrapper around Graphics::drawLine
*/
void drawLine(int x0, int y0, int x1, int y1, uint32 color);
/**
+ * Draw a thick line.
+ *
+ * @param x0 The x coordinate of the start point.
+ * @param y0 The y coordiante of the start point.
+ * @param x1 The x coordinate of the end point.
+ * @param y1 The y coordinate of the end point.
+ * @param penX The width of the pen (thickness in the x direction)
+ * @param penY The height of the pen (thickness in the y direction)
+ * @param color The color of the line.
+ * @note This is just a wrapper around Graphics::drawThickLine
+ * @note The x/y coordinates of the start and end points are the upper-left most part of the pen
+ */
+ void drawThickLine(int x0, int y0, int x1, int y1, int penX, int penY, uint32 color);
+
+ /**
* Draw a horizontal line.
*
* @param x The start x coordinate of the line.