Next Previous Contents

## 3.186 tgi_line

> Function

>   Draw a line in the current drawing color. The graphics cursor will be set to x2/y2 by this call.

> Header

>   `tgi.h`

> Declaration

>   `void __fastcall__ tgi_line (int x1, int y1, int x2, int y2);`

> Description

>   Draw a line in the current drawing color. The graphics cursor will be set to x2/y2 by this call.

> Limits

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

>   cc65

> See also

>   Other tgi functions.

> Example

>   None.

Next Previous Contents