- 4.37.1.21. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.1. Graph Unit Types, Constants, and Variables
4.37.1.21. ViewPortType
4.37.1.21. ViewPortType
Targets: MS-DOS, Win32
Graph Unit
A record that reports the status of the current viewport;
used by GetViewSettings.
Declaration:
ViewPortType = record
x1, y1, x2, y2 : Longint;
Clip : Boolean;
end;
The points (X1, Y1) and (X2, Y2) are the dimensions of the active
viewport and are given in absolute screen coordinates. Clip is
a Boolean variable that controls whether clipping is active.
- 4.37.1.21. -