- sdl_layer ->initialise: texture=[sdl_texture
|sdl_canvas*],
area=[area*], scale=[{stretch,fit,fill,none,tile}] - Create to show texture in area of the window, scaled as described with sdl_layer
<-scale
(default fit). If area is omitted, the layer uses the whole
window.
- sdl_layer ->expose: above=[sdl_layer]
- Move the layer to the top of sdl_window
<-layers,
or just above
above. Fails if the layer is not shown in a window, or if above
is in another window. This is the same as graphical->expose.
- sdl_layer ->hide: below=[sdl_layer]
- Move the layer to the bottom of sdl_window
<-layers,
or just below
below. This is the same as graphical->hide.