1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-12-22 02:31:12 +00:00
2 Lo Res Graphics Library
4am edited this page 2020-07-09 20:16:51 -04:00

Useful functions to make drawing on the double lo-res screen much easier.

Compatibility: 64K, ///

Usage: include "inc/gr.plh"

Values:

word[] grbuff

Functions:

grPlot(buff, x, y)#0
grHLin(buff, x1, x2, y)#0
grVLin(buff, x, y1, y2)#0
grBLT(buff, x, y, width, height, src)#0
grTile(buff, x, y, src)#0
grTileStr(buff, x, y, tilestr, strlen, tilebuff)#0
grFill(buff, x, y, tile)#0
grMode(mode)#1
grShow(page)#1
grColor(clr)#0
grLine(buff, x1, y1, x2, y2)#0
grClear(buff, clr)#0

Source Code: grlib.pla

Sample Source: grtest.pla