diff options
author | Max Horn | 2005-05-08 12:33:55 +0000 |
---|---|---|
committer | Max Horn | 2005-05-08 12:33:55 +0000 |
commit | 5d5b997864bdc9d0daddf5b9b73a803122558130 (patch) | |
tree | cc661fef6897a9b6c7aa2fa340772dcb1275094c /graphics/surface.h | |
parent | bd8831487f9b1acb5f81986832e532f49544e5bd (diff) | |
download | scummvm-rg350-5d5b997864bdc9d0daddf5b9b73a803122558130.tar.gz scummvm-rg350-5d5b997864bdc9d0daddf5b9b73a803122558130.tar.bz2 scummvm-rg350-5d5b997864bdc9d0daddf5b9b73a803122558130.zip |
Patch #1193795 (Adding drawLine() to Surface)
svn-id: r17959
Diffstat (limited to 'graphics/surface.h')
-rw-r--r-- | graphics/surface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/surface.h b/graphics/surface.h index 8407b73bbe..ce3596b364 100644 --- a/graphics/surface.h +++ b/graphics/surface.h @@ -46,7 +46,8 @@ struct Surface { inline void *getBasePtr(int x, int y) { return static_cast<void *>(static_cast<byte *>(pixels) + y * pitch + x * bytesPerPixel); } - + + void drawLine(int x0, int y0, int x1, int y1, uint32 color); void hLine(int x, int y, int x2, uint32 color); void vLine(int x, int y, int y2, uint32 color); void fillRect(const Common::Rect &r, uint32 color); |