SDLSurface newSurface(Int x, Int y, BPP bpp, Bool fullscreen)
Arguments
x: The width of the screen in pixelsy: The height of the screen in pixelsbpp: 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.
Usage
This function creates a new display window or screen with the specified parameters. You must create one of these to display any output.