Tscope5
graphics08.c
////////////////////////////////////////////////////////////////////////////////
//
// __ ______
// / /_______________ ____ ___ / ____/
// / __/ ___/ ___/ __ \/ __ \/ _ \ /___ )
// / /_(__ ) /__/ /_/ / /_/ / __/ ____/ /
// \__/____/\___/\____/ .___/\___/ /_____/
// /_/
//
// graphics08.c
// - Illustration of the named colors.
////////////////////////////////////////////////////////////////////////////////
#include <tscope5.h>
int main()
{
// open a display and set graphics parameters
ts5_set_fill_mode(TS5_FILL_ON);
ts5_set_coordinate_scale(TS5_RELATIVE_COORDINATES);
// draw some circles
char colors[4][20] = {"aliceblue", "antiquewhite", "aqua", "aquamarine"};
ts5_draw_circle(0.5, 0.5, 0.25);
ts5_draw_circle(-0.5, 0.5, 0.25);
ts5_draw_circle(-0.5, -0.5, 0.25);
ts5_draw_circle(0.5, -0.5, 0.25);
// wait for a click
return 0;
}