Fandom

Petit Computer Wiki

GBOX and GFILL (Command)

914pages on
this wiki
Add New Page
Comments0 Share

V1Edit

Indications are, GBOX and GFILL in SmileBasic V1 are identical to those in V2.

V2Edit

GBOX and GFILL are very similar statements; the first draws the outline, 1 pixel wide, of a rectangle, and the second fills a rectangle. The rectangle is drawn on the currently selected graphics page.

If given 4 parameters, x1, y1, x2, y2, the corners of the rectangle will be at coordinates (x1,y1), (x1,y2), (x2,y2), and (x2,y1).

If given 5 parameters, the first 4 will be as above, and the fifth will be the colour the rectangle is drawn in. If the fifth parameter is omitted, the currently selected colour is used.

V3Edit

No information on SmileBasic V3.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.