Next Previous Contents

## 3.180 tgi_getxres

> Function

>   Get number of horisontal pixels on the screen.

> Header

>   `tgi.h`

> Declaration

>   `unsigned __fastcall__ tgi_getxres (void);`

> Description

>   Get number of horisontal pixels on the screen. This is same as tgi_maxx()+1.

> 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