Next Previous Contents

3.212 tgi_circle

Function

The function draws a circle in the current color.

Header

tgi.h

Declaration

void __fastcall__ tgi_circle (int x, int y, unsigned char radius);

Description

The function draws a circle in the current color.

Limits

  • The function is only available as fastcall function, so it may only be used in presence of a prototype.

Availability

cc65

See also

tgi_arc, tgi_bar, tgi_ellipse, tgi_pieslice, tgi_setcolor

Example

tgi_setcolor(TGI_COLOR_BLACK);
tgi_circle(50, 40, 40);


Next Previous Contents