diff options
author | Max Horn | 2009-01-30 16:16:52 +0000 |
---|---|---|
committer | Max Horn | 2009-01-30 16:16:52 +0000 |
commit | f49e0667a4a2bfb55022705f58b4c2608d86b2b5 (patch) | |
tree | 95fc40126ef367d1f2176dd0a00f9af37f767fa7 /common | |
parent | 716f88f57127e32916ce22f756b1a3f2d2eff9d6 (diff) | |
download | scummvm-rg350-f49e0667a4a2bfb55022705f58b4c2608d86b2b5.tar.gz scummvm-rg350-f49e0667a4a2bfb55022705f58b4c2608d86b2b5.tar.bz2 scummvm-rg350-f49e0667a4a2bfb55022705f58b4c2608d86b2b5.zip |
Document OSystem::copyRectToOverlay params more explicitly (esp. the pitch param, which differs from that of copyRectToScreen)
svn-id: r36150
Diffstat (limited to 'common')
-rw-r--r-- | common/system.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h index 505ddb5dc4..8c05b6d756 100644 --- a/common/system.h +++ b/common/system.h @@ -617,6 +617,20 @@ public: /** * Blit a graphics buffer to the overlay. * In a sense, this is the reverse of grabOverlay. + * + * @note The pitch parameter actually contains the 'pixel pitch', i.e., + * the number of pixels per scanline, and not as usual the number of bytes + * per scanline. + * + * @todo Change 'pitch' to be byte and not pixel based + * + * @param buf the buffer containing the graphics data source + * @param pitch the pixel pitch of the buffer (number of pixels in a scanline) + * @param x the x coordinate of the destination rectangle + * @param y the y coordinate of the destination rectangle + * @param w the width of the destination rectangle + * @param h the height of the destination rectangle + * * @see copyRectToScreen * @see grabOverlay */ |