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

Go to the source code of this file.

Functions

Variablepoint (Environment *_environment, char *_x, char *_y)
 Emit code for POINT(...).

Function Documentation

◆ point()

Variable * point ( Environment * _environment,
char * _x,
char * _y )

Emit code for POINT(...).

Emit code to get the color at a given point.

Parameters
_environmentCurrent calling environment
_xAbscissa of the pixel.
_yCoordinate of the pixel.
Returns
Variable* Color at the given coordinates

Definition at line 73 of file point.c.