|
|
| GetSurface | ||
| SurfaceIndex = GetSurface() | ||
| Parameters: NONE | ||
| Returns: SurfaceIndex = The Index of the current surface (screen=0 or image index) |
||
The GetSurface() function returns the index of current drawing surface. If the current drawing surface is the screen, GetSurface will return a Zero, anything else and it's an Image index. FACTS: * A surface index of Zero means the screen. * You can use the RenderToIMage command to set or restore the a drawing surface not just Images, but the screen also. Mini Tutorial: This example uses the GetSurface commands to get some basic information about the current drawing surface
This example would output.
|
| Related Info: | GetSurfaceHeight | GetSurfaceStatus | GetSurfaceWidth | RenderToImage | RenderToScreen : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |