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

Go to the source code of this file.

Functions

void plot (Environment *_environment, char *_x, char *_y, char *_c, int _preserve_color)
 Emit code for PLOT.

Function Documentation

◆ plot()

void plot ( Environment * _environment,
char * _x,
char * _y,
char * _c,
int _preserve_color )

Emit code for PLOT.

Emit code to draw a pixel at a given point.

Parameters
_environmentCurrent calling environment
_xAbscissa of the pixel.
_yCoordinate of the pixel.
_cColor of the pixel.

Definition at line 46 of file plot.c.