Back|Forward
DCL:GRPH1:SGPACK: User Interface:Explanation of Subroutines: Control
    
  
  
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.