2.4.2 SGFRM

1.
Function
Sets a new frame (draw area).
2.
Call
CALL SGFRM
3.
Explanation of Parameters
None.
4.
Notes
(a)
When the internal variable 'LFULL' is .TRUE., the workstation transformation is set to use the frame (the workstation viewport set by SLPACK) to its full extent. The short side of the workstation window in the RC is changed according to the aspect ratio of the workstation viewport. When 'LFULL' is .FALSE., the workstation window is set at [0,1]n[0,1], and the workstation viewport is reset to fill the frame to the maximum extent while preserving the aspect ratio. You will see the message 'WORKSTATION VIEWPORT WAS MODIFIED.', but it will not affect the graphics in any way. However, when you want to put a title in the margin using SLPACK, the character height may not turn out to have the preferred value. In such a case, set the aspect ratio to 1:1 beforehand using routines such as SLRAT (See Section 4.3.6). The initial value of 'LFULL' is .FALSE. (See Section 2.4.4).
(b)
This routine initializes the normalization transformation, and the identical transformation is set. Therefore, the normalization transformation must be reset each time after calling SGFMR.