annotate doc/lispintro/cons-2a.eps @ 111686:e8049570c647

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