Bypass navigation menu
RGB Classic Games
Keeping the classics alive
Currently hosting 566 great games!
Return to Chapter 2

GetAspect(XAspect, YAspect)

Returns the current horizontal and vertical portions of the aspect ratio used in circle drawing.

Parameters

XAspect - Variable to store horizontal portion of aspect ratio
YAspect - Variable to store vertical portion of aspect ratio

Examples

BASIC

CALL GetAspect(XAspect%, YAspect%)

PASCAL

GetAspect(XAspect, YAspect);

BGI equivalent

void getaspectratio(int *xasp, int *yasp);