Macaw OS C reference

Function shadowtext

#include <macaw.h>
void shadowtext(const char *s, int x, int y, int colour, int shadow);

Writes text with a shadow one pixel down and to the right, so it stands out on a busy background.

Parameters

sconst char *
The text to write.
xint
How far the text's left edge is from the window's left edge, in pixels.
yint
How far the text's top is from the window's top, in pixels.
colourint
The text's colour, from 0 to 255.
shadowint
The shadow's colour, from 0 to 255. 0 is black.

In Drawing, with cls, pset, pget, line, rect, rectfill, circ, circfill, tri, text, textwidth, clip, noclip, camera, box, centertext, textscaled, wraptext, wrapline.