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

svn-id: r42824
This commit is contained in:
Johannes Schickel 2009-07-26 14:40:44 +00:00
parent d1fed5cee1
commit df7e4ad7ec

View file

@ -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);