home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff267.lzh
/
Diglib
/
diglib.zoo
/
diglib
/
TRACEC.FOR
< prev
next >
Wrap
Text File
|
1989-06-20
|
526b
|
21 lines
SUBROUTINE TRACEC(X,Y,NPTS)
DIMENSION X(NPTS), Y(NPTS)
C
C THIS SUBROUTINE TRACES THE LINE FROM X(1),Y(1) TO
C X(NPTS),Y(NPTS) WITH APPROPIATE CLIPPING.
C
INCLUDE PLTSIZ.PRM
C
DIMENSION AREA(4)
C
CALL GSSCLP(XVSTRT,XVSTRT+XVLEN,YVSTRT,YVSTRT+YVLEN,AREA)
CALL SCALE(X(1),Y(1),VX,VY)
CALL GSMOVE(VX,VY)
10 DO 100 I=2,NPTS
CALL SCALE(X(I),Y(I),VX,VY)
CALL GSDRAW(VX,VY)
100 CONTINUE
CALL GSRCLP(AREA)
RETURN
END