RATIO
Returns the ratio of an X to Y hard-clip limits for the PLOTTER IS device.
RATIO
Usage:
WINDOW 0,RATIO,-1,1
Xmax=100*MAX(1,RATIO)
Ymax=100*MAX(1,1/RATIO)
Example:
RATIO.BAS
Description:
RATIO
is useful for
VIEWPORT
and
WINDOW
calculations and for knowing the shape of the graphic screen or plotter paper.
See Also:
CLIP
,
SHOW
,
VIEWPORT
,
WINDOW