Previous: SetAllPalette procedure To the Table of Content Next: SetBkColor procedure

- 4.37.2.96 -
Standard Units
Graph Unit
Graph Unit Procedures and Functions

SetAspectRatio procedure

Targets: MS-DOS, Win32


Graph Unit

Changes the default aspect-ratio correction factor.

Declaration:
procedure SetAspectRatio(AspectRatio: Real);
Remarks:
SetAspectRatio is used to change the default aspect ratio of the current graphics mode. The aspect ratio is used to draw circles. If circles appear elliptical, the monitor is not alligned properly. This can be corrected in hardware by realigning the monitor, or it can be corrected in software by changing the aspect ratio using SetAspectRatio. To read the current aspect ratio from the system, use GetAspectRatio.


Previous: SetAllPalette procedure To the Table of Content Next: SetBkColor procedure
SetAllPalette procedure Table of Content SetBkColor procedure

- 4.37.2.96 -