New TGI routines tgi_getaspectratio/tgi_setaspectratio.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5009 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-05-01 18:40:38 +00:00
parent c142061ca5
commit a507605a89
6 changed files with 55 additions and 3 deletions

View File

@@ -187,6 +187,16 @@ unsigned __fastcall__ tgi_getmaxy (void);
* getmaxy() + 1
*/
unsigned __fastcall__ tgi_getaspectratio (void);
/* Returns the aspect ratio for the loaded driver. The aspect ratio is an
* 8.8 fixed point value.
*/
void __fastcall__ tgi_setaspectratio (unsigned aspectratio);
/* Set a new aspect ratio for the loaded driver. The aspect ratio is an
* 8.8 fixed point value.
*/
unsigned char __fastcall__ tgi_getpixel (int x, int y);
/* Get the color value of a pixel. */