aboutsummaryrefslogtreecommitdiff
path: root/graphics/sjis.h
diff options
context:
space:
mode:
authorJohannes Schickel2009-07-26 14:40:44 +0000
committerJohannes Schickel2009-07-26 14:40:44 +0000
commitdf7e4ad7ece168da2feed8373d871938614e6e7a (patch)
tree1bdb61aa722a3daffb8f3a6e8f612e2057a52de8 /graphics/sjis.h
parentd1fed5cee165d9626a7ced40e982b4d7c6a6dc72 (diff)
downloadscummvm-rg350-df7e4ad7ece168da2feed8373d871938614e6e7a.tar.gz
scummvm-rg350-df7e4ad7ece168da2feed8373d871938614e6e7a.tar.bz2
scummvm-rg350-df7e4ad7ece168da2feed8373d871938614e6e7a.zip
Add a todo to FontSJIS::drawChar taking an Graphics::Surface.
svn-id: r42824
Diffstat (limited to 'graphics/sjis.h')
-rw-r--r--graphics/sjis.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/sjis.h b/graphics/sjis.h
index ea485db460..b5d997a19a 100644
--- a/graphics/sjis.h
+++ b/graphics/sjis.h
@@ -88,6 +88,10 @@ public:
/**
* Draws a SJIS encoded character on the given surface.
+ *
+ * TODO: Currently there is no assurance, that this method will only draw within
+ * the surface boundaries. Thus the caller has to assure the glyph will fit at
+ * the specified position.
*/
void drawChar(Graphics::Surface &dst, uint16 ch, int x, int y, uint32 c1, uint32 c2) const {
drawChar(dst.getBasePtr(x, y), ch, c1, c2, dst.pitch, dst.bytesPerPixel);