DCL:GRPH1:SZPACK: Basic Graphics Routines:List of Subroutines:Basic Graphics Routines
Input Coordinates Contents of Processing SZxxLU U Rotation/Normalization Transformation, Linear Interpolation SZxxLT T Map projection, Great circle interpolation, clipping at map boundaries SZxxLV V Clipping a viewport SZxxLC V Expanding to labeled line segments SZxxLD V Expanding to dotted lines SZxxLP V Perspective transformation SZxxLR R Clipping in a WS viewport SZxxLZ R WS transformation, line drawing There are 4 types according to the operation of xx: OP: OPEN; MV: MOVE; PL: PLOT; and CL: CLOSE.
These routines can be considered as expansions of the interface routine SZPLZc(N,PX,PY). The following is a program for drawing a polyline using basic routines.
CALL SZPLOP(ITYPE,INDEX) CALL SZOPLc CALL SZMVLc(UXX,UYY) CALL SZPLLc(UXX,UYY) ......... CALL SZCLLc CALL SZPLCL
The SZPLOP changes line type and line index, as well as inquire the necessary information by SGRGET, so calling it frequently will affect speed.