h48229
s 00000/00000/00044
d D 1.2 83/03/31 12:38:25 mmm 2 1
c 
e
s 00044/00000/00000
d D 1.1 83/03/15 21:41:54 tes 1 0
c date and time created 83/03/15 21:41:54 by tes
e
u
4
U
t
T
I 1
subroutine gsclin (clsw)
########################################################################
#                                                                      #
#          THIS MATERIAL IS CONFIDENTIAL AND IS FURNISHED UNDER        #
#          A WRITTEN LICENSE AGREEMENT.  IT MAY NOT BE USED,           #
#          COPIED OR DISCLOSED TO OTHERS EXCEPT IN ACCORDANCE          #
#          WITH THE TERMS OF THAT AGREEMENT.                           #
#                                                                      #
#          COPYRIGHT (C) 1982 GRAPHIC SOFTWARE SYSTEMS INC.            #
#          ALL RIGHTS RESERVED.                                        #
#                                                                      #
#     Function: Set clipping indicator                                 #
#                                                                      #
#     Input Parameters:                                                #
#            clsw - clipping indicator   (0=noclip, 1=clip)            #
#      Output Parameters:                                              #
#            none                                                      #
#                                                                      #
#     Errors:                                                          #
#            8  GKS not in proper state: GKS must be in one the states #
#               GKOP, WSOP, WSAC, or SGOP                              #
#                                                                      #
#     Routines Called:                                                 #
#            errchk - perform appropriate error checking               #
#                                                                      #
########################################################################
integer clsw

ifdef(`ERROR_ON',`
   integer errchk, errind, ierdum(1)
   ')

include(`gkscom')

   ifdef(`ERROR_ON',`
      rounum = GSCLIN
      errind = errchk(ierdum(1), ierdum)
      ')

   nclip = 0    
   if (clsw != 0) nclip = 1
 
   return
end
E 1
