Skip to content

SetAspectRatio

Set aspect ration of the screen.

Declaration

Source position: graphh.inc line 801

procedure SetAspectRatio(Xasp: Word; Yasp: Word);

Description

Sets the aspect ratio of the current screen to Xasp/Yasp.

Errors

None

See also

Name Description
InitGraph Initialize graphical system.
GetAspectRatio Return screen resolution.