2.6.3 SGSPLT

1.
Function
Specifies the settings for the polyline drawn by SGPLU, SGPLV, SGPLR.
2.
Call
CALL SGSPLT(ITYPE)
3.
Explanation of Parameters
ITYPE (I) The line type of a polyline (Initial value: 1). ITYPE 1: solid line; 2: dashed line; 3 dotted line; 4: alternate long and short dashed line. For all other integers besides 0, the last N bits are used to specify the line type by bit pattern. (N is a value set by the internal variable 'NBITS'. The initial value is 16; See Section 2.4.4.) For example, when N=16 and ITYPE = Z'0000F0F0' (hexadecimal constant), the type of the dashed line is '4bits ON 4bits OFF 4bits ON 4bits OFF'. The length of 1 bit is set by the internal variable 'BITLEN'. For examples of line types, see Section 8.1.1.
4.
Notes
(a)
ITYPE must have value other than 0. When ITYPE is 0, a message is printed, and no other steps are taken.
(b)
The validity of ITYPE is not checked by this routine. It is checked when SGPLU, SGPLV, or SGPLR is called.
(c)
The current settings for line type can be inquired with
CALL SGQPLT(ITYPE).