annotate doc/lispintro/cons-1.eps @ 105071:ecfdb424a03f

*** empty log message ***
author Nick Roberts <nickrob@snap.net.nz>
date Fri, 18 Sep 2009 02:00:18 +0000
parents cb5d2387102c
children 1d1d5d9bd884
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
83948
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 %!
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2 %%BoundingBox: 35 711 289 757
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
3 %%Title: cons-cell-diagram1
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
4 %%CreationDate: Wed Mar 8 14:26:58 1995
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5 %%Creator: Tgif-2.16-p4 by William Chia-Wei Cheng (william@cs.UCLA.edu)
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6 %
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7 % Due to bugs in Transcript, the 'PS-Adobe-' stuff is omitted from line 1
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8 %
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9
100974
cb5d2387102c Add 2009 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 95034
diff changeset
10 % Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
83948
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
11 % Free Software Foundation, Inc.
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12 %
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
13 % This file is part of GNU Emacs.
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
14 %
95034
38ec81da0a8b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
15 % GNU Emacs is free software: you can redistribute it and/or modify
83948
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16 % it under the terms of the GNU General Public License as published by
95034
38ec81da0a8b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
17 % the Free Software Foundation, either version 3 of the License, or
38ec81da0a8b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
18 % (at your option) any later version.
83948
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
19 %
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
20 % GNU Emacs is distributed in the hope that it will be useful,
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21 % but WITHOUT ANY WARRANTY; without even the implied warranty of
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23 % GNU General Public License for more details.
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
24 %
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
25 % You should have received a copy of the GNU General Public License
95034
38ec81da0a8b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
26 % along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
83948
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
27
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
28 /tgifdict 132 dict def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29 tgifdict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
30
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
31 %
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32 % Using a zero value radius for an ellipse or an arc would result
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33 % in a non-invertible CTM matrix which causes problem when this
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34 % when this PostScript is wrapped inside other routines, such as
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 % the multi.ps package from
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36 % ftp.ucc.su.oz.au:/pub/ps_printing/multi. You can overcome such
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
37 % error by uncommenting the sole line of the procedure below:
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38 %
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39 /tgif_min_radius
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40 {
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41 % dup 0.01 lt { pop 0.01 } if
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42 } bind def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44 /tgifellipsedict 6 dict def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45 tgifellipsedict /mtrx matrix put
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 /tgifellipse
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 { tgifellipsedict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 /yrad exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50 /xrad exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 /y exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 /x exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53 /savematrix mtrx currentmatrix def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 x y translate
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 xrad yrad scale
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56 0 0 1 0 360 arc
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 savematrix setmatrix
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 /tgifarrowtipdict 8 dict def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 tgifarrowtipdict /mtrx matrix put
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 /tgifarrowtip
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 { tgifarrowtipdict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 /dy exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 /dx exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 /h exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 /w exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 /y exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 /x exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 /savematrix mtrx currentmatrix def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 x y translate
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 dy dx atan rotate
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 0 0 moveto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 w neg h lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 w neg h neg lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 savematrix setmatrix
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82 /tgifarcdict 8 dict def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
83 tgifarcdict /mtrx matrix put
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
85 /tgifarcn
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
86 { tgifarcdict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
87 /endangle exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88 /startangle exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89 /yrad exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90 /xrad exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91 /y exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92 /x exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93 /savematrix mtrx currentmatrix def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94 x y translate
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95 xrad yrad scale
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
96 0 0 1 startangle endangle arc
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97 savematrix setmatrix
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
98 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
99 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
100
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101 /tgifarc
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
102 { tgifarcdict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
103 /endangle exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
104 /startangle exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
105 /yrad exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
106 /xrad exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
107 /y exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
108 /x exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
109 /savematrix mtrx currentmatrix def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
110 x y translate
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
111 xrad yrad scale
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
112 0 0 1 startangle endangle arcn
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
113 savematrix setmatrix
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
114 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
115 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
116
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
117 /tgifsetuserscreendict 22 dict def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
118 tgifsetuserscreendict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
119 /tempctm matrix def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
120 /temprot matrix def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
121 /tempscale matrix def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
122
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
123 /concatprocs
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
124 { /proc2 exch cvlit def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
125 /proc1 exch cvlit def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
126 /newproc proc1 length proc2 length add array def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
127 newproc 0 proc1 putinterval
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
128 newproc proc1 length proc2 putinterval
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
129 newproc cvx
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
130 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
131 /resmatrix matrix def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
132 /findresolution
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
133 { 72 0 resmatrix defaultmatrix dtransform
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
134 /yres exch def /xres exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
135 xres dup mul yres dup mul add sqrt
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
136 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
137 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
138
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
139 /tgifsetuserscreen
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
140 { tgifsetuserscreendict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
141 /spotfunction exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
142 /screenangle exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
143 /cellsize exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
144
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
145 /m tempctm currentmatrix def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
146 /rm screenangle temprot rotate def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
147 /sm cellsize dup tempscale scale def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
148
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
149 sm rm m m concatmatrix m concatmatrix pop
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
150
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
151 1 0 m dtransform /y1 exch def /x1 exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
152
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
153 /veclength x1 dup mul y1 dup mul add sqrt def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
154 /frequency findresolution veclength div def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
155
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
156 /newscreenangle y1 x1 atan def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
157
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
158 m 2 get m 1 get mul m 0 get m 3 get mul sub 0 gt
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
159
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
160 {{neg} /spotfunction load concatprocs
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
161 /spotfunction exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
162 } if
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
163
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
164 frequency newscreenangle /spotfunction load setscreen
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
165 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
166 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
167
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
168 /tgifsetpatterndict 18 dict def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
169 tgifsetpatterndict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
170 /bitison
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
171 { /ybit exch def /xbit exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
172 /bytevalue bstring ybit bwidth mul xbit 8 idiv add get def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
173
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
174 /mask 1 7 xbit 8 mod sub bitshift def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
175 bytevalue mask and 0 ne
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
176 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
177 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
178
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
179 /tgifbitpatternspotfunction
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
180 { tgifsetpatterndict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
181 /y exch def /x exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
182
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
183 /xindex x 1 add 2 div bpside mul cvi def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
184 /yindex y 1 add 2 div bpside mul cvi def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
185
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
186 xindex yindex bitison
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
187 { /onbits onbits 1 add def 1 }
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
188 { /offbits offbits 1 add def 0 }
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
189 ifelse
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
190 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
191 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
192
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
193 /tgifsetpattern
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
194 { tgifsetpatterndict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
195 /cellsz exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
196 /angle exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
197 /bwidth exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
198 /bpside exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
199 /bstring exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
200
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
201 /onbits 0 def /offbits 0 def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
202 cellsz angle /tgifbitpatternspotfunction load tgifsetuserscreen
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
203 {} settransfer
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
204 offbits offbits onbits add div setgray
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
205 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
206 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
207
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
208 /tgifxpmdict 4 dict def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
209 /tgifbwpicstr 1 string def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
210 /tgifcolorpicstr 3 string def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
211
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
212 /tgifsetpixels { tgifxpmdict begin /pixels exch def end } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
213
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
214 /tgifsetpix { tgifxpmdict begin pixels 3 1 roll putinterval end } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
215
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
216 /tgifbwspot
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
217 { tgifxpmdict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
218 /index exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
219 tgifbwpicstr 0
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
220 pixels index 3 mul 3 getinterval aload pop
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
221 255 mul .114 mul exch 255 mul .587 mul add exch 255 mul .299 mul add
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
222 cvi put
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
223 tgifbwpicstr
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
224 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
225 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
226
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
227 /tgifcolorspot
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
228 { tgifxpmdict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
229 /index exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
230 pixels index 3 mul 3 getinterval aload pop
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
231 255 mul cvi tgifcolorpicstr 2 3 -1 roll put
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
232 255 mul cvi tgifcolorpicstr 1 3 -1 roll put
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
233 255 mul cvi tgifcolorpicstr 0 3 -1 roll put
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
234 tgifcolorpicstr
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
235 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
236 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
237
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
238 /tgifnewcolorspot
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
239 { tgifxpmdict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
240 /index exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
241 pixels index 3 mul 3 getinterval aload pop setrgbcolor
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
242 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
243 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
244
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
245 /tgifcolordict 4 dict def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
246
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
247 /colorimage where
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
248 { pop }
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
249 { /colorimage
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
250 { tgifcolordict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
251 pop pop pop pop pop
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
252 /ih exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
253 /iw exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
254 /x 0 def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
255 /y 0 def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
256 1 1 ih
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
257 { pop 1 1 iw
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
258 { pop currentfile
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
259 tgifbwpicstr readhexstring pop 0 get tgifnewcolorspot
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
260 x y moveto 1 0 rlineto 0 1 rlineto -1 0 rlineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
261 closepath fill
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
262 /x x 1 add def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
263 } for
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
264 /y y 1 add def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
265 /x 0 def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
266 } for
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
267 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
268 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
269 } ifelse
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
270
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
271 /tgifpatdict 10 dict def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
272
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
273 /tgifpatbyte
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
274 { currentdict /retstr get exch
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
275 pat i cellsz mod get put
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
276 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
277
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
278 /tgifpatproc
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
279 { 0 1 widthlim {tgifpatbyte} for retstr
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
280 /i i 1 add def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
281 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
282
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
283 /tgifpatfill
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
284 { tgifpatdict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
285 /h exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
286 /w exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
287 /lty exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
288 /ltx exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
289 /cellsz exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
290 /pat exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
291
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
292 /widthlim w cellsz div cvi 1 sub def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
293 /retstr widthlim 1 add string def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
294 /i 0 def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
295
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
296 ltx lty translate
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
297 w h true [1 0 0 1 0 0] {tgifpatproc} imagemask
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
298 ltx neg lty neg translate
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
299 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
300 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
301
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
302 /pat1 <ffffffffffffffff> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
303 /pat2 <0000000000000000> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
304 /pat3 <8000000008000000> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
305 /pat4 <8800000022000000> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
306 /pat5 <8800220088002200> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
307 /pat6 <8822882288228822> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
308 /pat7 <aa55aa55aa55aa55> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
309 /pat8 <77dd77dd77dd77dd> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
310 /pat9 <77ffddff77ffddff> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
311 /pat10 <77ffffff77ffffff> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
312 /pat11 <7fffffff7fffffff> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
313 /pat12 <8040200002040800> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
314 /pat13 <40a00000040a0000> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
315 /pat14 <ff888888ff888888> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
316 /pat15 <ff808080ff080808> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
317 /pat16 <f87422478f172271> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
318 /pat17 <038448300c020101> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
319 /pat18 <081c22c180010204> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
320 /pat19 <8080413e080814e3> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
321 /pat20 <8040201008040201> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
322 /pat21 <8844221188442211> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
323 /pat22 <77bbddee77bbddee> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
324 /pat23 <c1e070381c0e0783> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
325 /pat24 <7fbfdfeff7fbfdfe> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
326 /pat25 <3e1f8fc7e3f1f87c> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
327 /pat26 <0102040810204080> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
328 /pat27 <1122448811224488> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
329 /pat28 <eeddbb77eeddbb77> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
330 /pat29 <83070e1c3870e0c1> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
331 /pat30 <fefdfbf7efdfbf7f> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
332 /pat31 <7cf8f1e3c78f1f3e> def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
333
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
334 /tgifcentertext { dup stringwidth pop 2 div neg 0 rmoveto } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
335
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
336 /tgifrighttext { dup stringwidth pop neg 0 rmoveto } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
337
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
338 /tgifreencsmalldict 12 dict def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
339 /tgifReEncodeSmall
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
340 { tgifreencsmalldict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
341 /newcodesandnames exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
342 /newfontname exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
343 /basefontname exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
344
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
345 /basefontdict basefontname findfont def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
346 /newfont basefontdict maxlength dict def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
347
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
348 basefontdict
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
349 { exch dup /FID ne
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
350 { dup /Encoding eq
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
351 { exch dup length array copy newfont 3 1 roll put }
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
352 { exch newfont 3 1 roll put }
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
353 ifelse
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
354 }
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
355 { pop pop }
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
356 ifelse
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
357 }
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
358 forall
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
359
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
360 newfont /FontName newfontname put
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
361 newcodesandnames aload pop
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
362
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
363 newcodesandnames length 2 idiv
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
364 { newfont /Encoding get 3 1 roll put}
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
365 repeat
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
366
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
367 newfontname newfont definefont pop
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
368 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
369 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
370
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
371 /tgifgray { 8 1 0 72 300 32 div div tgifsetpattern } bind def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
372
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
373 /tgifboxdict 6 dict def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
374 /tgifboxstroke
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
375 { tgifboxdict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
376 /pat def /w def /y2 exch def /x2 exch def /y1 exch def /x1 exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
377 1.415 setmiterlimit
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
378 w 1 eq { w setlinewidth } if
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
379 pat pat1 ne pat pat2 ne and { gsave pat tgifgray } if
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
380 newpath x1 y1 moveto x2 y1 lineto x2 y2 lineto x1 y2 lineto closepath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
381 pat pat2 eq { 1 setgray stroke 0 setgray } { stroke } ifelse
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
382 pat pat1 ne pat pat2 ne and { grestore } if
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
383 w 1 eq { 1 setlinewidth } if
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
384 1 setmiterlimit
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
385 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
386 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
387 /tgifboxfill
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
388 { tgifboxdict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
389 /pat def /y2 exch def /x2 exch def /y1 exch def /x1 exch def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
390 pat pat1 ne pat pat2 ne and { gsave pat tgifgray } if
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
391 newpath x1 y1 moveto x2 y1 lineto x2 y2 lineto x1 y2 lineto closepath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
392 pat pat2 eq { 1 setgray fill 0 setgray } { fill } ifelse
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
393 pat pat1 ne pat pat2 ne and { grestore } if
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
394 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
395 } def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
396
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
397 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
398
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
399 %%PageBoundingBox: 35 711 289 757
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
400 tgifdict begin
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
401 /tgifsavedpage save def
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
402
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
403 1 setmiterlimit
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
404 1 setlinewidth
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
405
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
406 0 setgray
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
407
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
408 72 0 mul 72 11.00 mul translate
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
409 72 128 div 100 mul 100 div dup neg scale
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
410
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
411 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
412
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
413 % BOX
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
414 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
415 1.415 setmiterlimit
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
416 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
417 66 66 moveto 130 66 lineto 130 98 lineto 66 98 lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
418 closepath stroke
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
419 1 setmiterlimit
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
420 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
421
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
422 % POLY/OPEN-SPLINE
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
423 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
424 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
425 98 66 moveto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
426 98 98 lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
427 stroke
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
428 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
429
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
430 % POLY/OPEN-SPLINE
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
431 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
432 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
433 114 82 moveto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
434 0 80 atan dup cos 8 mul 194 exch sub
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
435 exch sin 8 mul 82 exch sub lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
436 stroke
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
437 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
438 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
439 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
440 194 82 8 3 80 0 tgifarrowtip
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
441 closepath fill
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
442 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
443
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
444 % TEXT
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
445 0 setgray
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
446 /Courier findfont [17 0 0 -17 0 0] makefont setfont
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
447 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
448 146 136 moveto (rose) show
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
449 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
450
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
451 % POLY/OPEN-SPLINE
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
452 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
453 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
454 82 82 moveto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
455 82 131 lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
456 0 48 atan dup cos 8 mul 130 exch sub
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
457 exch sin 8 mul 131 exch sub lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
458 stroke
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
459 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
460 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
461 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
462 130 131 8 3 48 0 tgifarrowtip
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
463 closepath fill
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
464 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
465
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
466 % BOX
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
467 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
468 1.415 setmiterlimit
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
469 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
470 199 66 moveto 263 66 lineto 263 98 lineto 199 98 lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
471 closepath stroke
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
472 1 setmiterlimit
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
473 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
474
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
475 % POLY/OPEN-SPLINE
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
476 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
477 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
478 231 66 moveto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
479 231 98 lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
480 stroke
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
481 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
482
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
483 % POLY/OPEN-SPLINE
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
484 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
485 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
486 247 82 moveto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
487 0 93 atan dup cos 8 mul 340 exch sub
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
488 exch sin 8 mul 82 exch sub lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
489 stroke
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
490 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
491 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
492 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
493 340 82 8 3 93 0 tgifarrowtip
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
494 closepath fill
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
495 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
496
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
497 % TEXT
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
498 0 setgray
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
499 /Courier findfont [17 0 0 -17 0 0] makefont setfont
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
500 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
501 279 136 moveto (violet) show
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
502 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
503
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
504 % POLY/OPEN-SPLINE
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
505 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
506 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
507 215 82 moveto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
508 215 131 lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
509 0 48 atan dup cos 8 mul 263 exch sub
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
510 exch sin 8 mul 131 exch sub lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
511 stroke
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
512 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
513 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
514 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
515 263 131 8 3 48 0 tgifarrowtip
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
516 closepath fill
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
517 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
518
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
519 % BOX
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
520 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
521 1.415 setmiterlimit
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
522 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
523 342 64 moveto 406 64 lineto 406 96 lineto 342 96 lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
524 closepath stroke
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
525 1 setmiterlimit
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
526 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
527
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
528 % POLY/OPEN-SPLINE
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
529 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
530 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
531 373 64 moveto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
532 373 96 lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
533 stroke
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
534 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
535
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
536 % POLY/OPEN-SPLINE
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
537 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
538 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
539 389 81 moveto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
540 0 48 atan dup cos 8 mul 437 exch sub
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
541 exch sin 8 mul 81 exch sub lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
542 stroke
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
543 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
544 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
545 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
546 437 81 8 3 48 0 tgifarrowtip
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
547 closepath fill
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
548 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
549
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
550 % TEXT
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
551 0 setgray
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
552 /Courier findfont [17 0 0 -17 0 0] makefont setfont
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
553 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
554 421 135 moveto (buttercup) show
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
555 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
556
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
557 % POLY/OPEN-SPLINE
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
558 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
559 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
560 357 81 moveto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
561 357 130 lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
562 0 48 atan dup cos 8 mul 405 exch sub
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
563 exch sin 8 mul 130 exch sub lineto
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
564 stroke
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
565 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
566 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
567 newpath
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
568 405 130 8 3 48 0 tgifarrowtip
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
569 closepath fill
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
570 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
571
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
572 % TEXT
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
573 0 setgray
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
574 /Courier findfont [17 0 0 -17 0 0] makefont setfont
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
575 gsave
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
576 449 87 moveto (nil) show
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
577 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
578
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
579 grestore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
580 tgifsavedpage restore
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
581 end
bec7902526ae Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
582 %MatchingCreationDate: Wed Mar 8 14:26:58 1995