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

@@ -71,7 +71,7 @@ static void DoCircles (void)
tgi_line (0, MaxY, MaxX, 0);
tgi_setcolor (Color);
for (I = 10; I < 240; I += 10) {
tgi_ellipse (X, Y, I, tgi_imulround (I, tgi_aspectratio));
tgi_ellipse (X, Y, I, tgi_imulround (I, tgi_getaspectratio ()));
}
Color = Color == COLOR_FORE ? COLOR_BACK : COLOR_FORE;
}