- 4.37.2.96. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.2. Graph Unit Procedures and Functions
4.37.2.96. SetAspectRatio procedure
4.37.2.96. 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.
- 4.37.2.96. -