Next Previous Contents

3.215 tgi_ellipse

Function

The function draws an ellipse in the current color.

Header

tgi.h

Declaration

void __fastcall__ tgi_ellipse (int x, int y, unsigned char rx, unsigned char ry);

Description

The function draws an ellipse at position x/y with radii rx and ry, using the current drawing 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_circle, tgi_pieslice, tgi_setcolor

Example

tgi_setcolor(TGI_COLOR_RED);
tgi_ellipse (50, 40, 40, 20);


Next Previous Contents