SDL::loadSurface(3) Load an image file


SDLSurface loadSurface( String file )


file The filename of a windows bitmap ( BMP format) image file.


Load the specified image file into a new surface. You can then copy all or part of this image file onto another surface (often the screen) using SDL.blitSurface(3kaya)


Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see


The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.