[Scummvm-cvs-logs] SF.net SVN: scummvm:[42824] scummvm/trunk/graphics/sjis.h

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Jul 26 16:40:44 CEST 2009


Revision: 42824
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42824&view=rev
Author:   lordhoto
Date:     2009-07-26 14:40:44 +0000 (Sun, 26 Jul 2009)

Log Message:
-----------
Add a todo to FontSJIS::drawChar taking an Graphics::Surface.

Modified Paths:
--------------
    scummvm/trunk/graphics/sjis.h

Modified: scummvm/trunk/graphics/sjis.h
===================================================================
--- scummvm/trunk/graphics/sjis.h	2009-07-26 14:40:03 UTC (rev 42823)
+++ scummvm/trunk/graphics/sjis.h	2009-07-26 14:40:44 UTC (rev 42824)
@@ -88,6 +88,10 @@
 
 	/**
 	 * 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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list