Functions to manipulate screen.
◆ lraspi_screen_getdefault()
Gets the current render image.
- Returns
- image An image object.
◆ lraspi_screen_getheight()
int lraspi_screen_getheight |
( |
| ) |
|
Gets the height of the screen.
- Returns
- int current screen height
◆ lraspi_screen_getwidth()
int lraspi_screen_getwidth |
( |
| ) |
|
Gets the width of the screen.
- Returns
- int current screen width
◆ lraspi_screen_isclosing()
bool lraspi_screen_isclosing |
( |
| ) |
|
Checks if the program will be closed.
- Returns
- true if the program will be close, false otherwise.
◆ lraspi_screen_setdefault()
Sets the render target to a image object.
- Note
- All draws will be rendered in the image object and not be shown on the screen.
- Parameters
-
image | An image object. Set NULL to restart drawing on screen. |