ASPECT

Finds the aspect ratio
Operating state: All

Syntax

CALL GASK('ASPECT', aspect, return-code-variable);

Required Arguments

aspect
numeric variable name; returns the aspect ratio.
return-code-variable
numeric variable name; returns the return code of the routine call, which is 0. See Return Codes for DSGI Routines and Functions.

Details

The GASK('ASPECT', . . . ) routine returns the current aspect ratio used to draw graphics output. GASK('ASPECT', . . . ) searches for the current aspect ratio in the following order:
  1. the aspect ratio set with the GSET('ASPECT', . . . ) function.
  2. the ASPECT= graphics option.
  3. the device's default aspect ratio found in the device entry. For more information about device entries, see GDEVICE Procedure.