SDL::newSurface(3) Create a new display window or screen

SYNOPSIS

SDLSurface newSurface( Int x, Int y, BPP bpp, Bool fullscreen )

ARGUMENTS

x The width of the screen in pixels

y The height of the screen in pixels

bpp The colour depth (may be ignored if not fullscreen)

fullscreen Whether to display fullscreen (if true) or windowed (if false). This parameter may be ignored in some graphical environments.

DESCRIPTION

This function creates a new display window or screen with the specified parameters. You must create one of these to display any output.

AUTHORS

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

LICENSE

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.