ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
new_image.c File Reference
#include "../../ugbc.h"

Go to the source code of this file.

Functions

Variablenew_image (Environment *_environment, int _width, int _height, int _mode)
 Emit code for NEW IMAGE(...).

Function Documentation

◆ new_image()

Variable * new_image ( Environment * _environment,
int _width,
int _height,
int _mode )

Emit code for NEW IMAGE(...).

Parameters
_environmentCurrent calling environment
_widthWidth of the image, in pixel
_heightHeigth of the image, in pixel
_modeMode to use

Definition at line 49 of file new_image.c.