author | sr |
Thu, 18 Oct 2007 12:16:14 +0200 | |
changeset 1901 | 5e6771205713 |
parent 1303 | 6ca5f36cdc63 |
child 2154 | 0c5cc2edf99c |
permissions | -rw-r--r-- |
328 | 1 |
" |
2 |
COPYRIGHT (c) 1996 by Claus Gittinger |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
||
13 |
||
1303 | 14 |
"{ Package: 'stx:libbasic2' }" |
15 |
||
328 | 16 |
Spline subclass:#ArrowedSpline |
17 |
instanceVariableNames:'arrowHeadPositions arrowHeadLength arrowHeadAngle' |
|
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
1303 | 20 |
category:'Graphics-Geometry-Objects' |
328 | 21 |
! |
22 |
||
23 |
!ArrowedSpline class methodsFor:'documentation'! |
|
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 1996 by Claus Gittinger |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
||
38 |
! |
|
39 |
||
40 |
documentation |
|
41 |
" |
|
42 |
ArrowedSplines are like infilled splines, with arrowHeads. |
|
43 |
||
44 |
[see also:] |
|
45 |
Polygon LineSegment Circle EllipticalArc |
|
46 |
Rectangle Curve Arrow Spline |
|
47 |
GraphicsContext |
|
331 | 48 |
StrokingWrapper FillingWrapper |
328 | 49 |
|
50 |
[author:] |
|
51 |
Claus Gittinger |
|
52 |
" |
|
53 |
! |
|
54 |
||
55 |
examples |
|
56 |
" |
|
57 |
arrowedspline: |
|
58 |
[exBegin] |
|
59 |
|v a| |
|
60 |
||
61 |
v := View extent:100@100. |
|
62 |
||
63 |
a := ArrowedSpline controlPoints: |
|
64 |
(Array with:(20@20) |
|
65 |
with:(80@80) |
|
66 |
with:(20@80)). |
|
67 |
||
68 |
v addComponent:((StrokingWrapper on:a) foregroundColor:Color red). |
|
69 |
v open. |
|
70 |
[exEnd] |
|
71 |
||
72 |
filled arrow: |
|
73 |
[exBegin] |
|
74 |
|v a| |
|
75 |
||
76 |
v := View extent:100@100. |
|
77 |
||
78 |
a := ArrowedSpline controlPoints: |
|
79 |
(Array with:(20@20) |
|
80 |
with:(80@80) |
|
81 |
with:(20@50) |
|
82 |
with:(90@10)). |
|
83 |
||
84 |
v addComponent:((FillingWrapper on:a) foregroundColor:Color red). |
|
85 |
v open. |
|
86 |
[exEnd] |
|
87 |
||
88 |
more arrowHeads: |
|
89 |
[exBegin] |
|
90 |
|v a| |
|
91 |
||
92 |
v := View extent:100@100. |
|
93 |
||
94 |
a := ArrowedSpline controlPoints: |
|
95 |
(Array with:(20@20) |
|
96 |
with:(80@80) |
|
97 |
with:(20@50) |
|
98 |
with:(90@10)). |
|
99 |
a arrowHeadPositions:#(1 4). |
|
100 |
v addComponent:((FillingWrapper on:a) foregroundColor:Color red). |
|
101 |
v open. |
|
102 |
[exEnd] |
|
103 |
interactive: |
|
104 |
[exBegin] |
|
105 |
|v points eventCatcher| |
|
106 |
||
107 |
v := StandardSystemView extent:(450 @ 450). |
|
108 |
v label:'ArrowedSpline Example - (click left/middle)'. |
|
109 |
||
110 |
points := OrderedCollection new. |
|
111 |
v openAndWait. |
|
112 |
||
113 |
eventCatcher := Plug new. |
|
114 |
eventCatcher respondTo:#handlesButtonPress:inView: |
|
115 |
with:[:butt :view | true]. |
|
116 |
eventCatcher respondTo:#buttonPress:x:y:view: |
|
117 |
with:[:butt :x :y :view | |
|
118 |
v paint:(Color white). |
|
119 |
v fillCircle:(x @ y) radius:3. |
|
120 |
points add:(x @ y). |
|
121 |
||
122 |
(butt == 1 or:[butt == #select]) ifFalse:[ |
|
123 |
v paint:(Color white). |
|
124 |
v fillCircle:(x @ y) radius:3. |
|
125 |
||
329 | 126 |
((ArrowedSpline controlPoints:points) |
127 |
arrowHeadPositions:(1 to:points size); |
|
128 |
arrowHeadLength:15) |
|
129 |
displayStrokedOn:v. |
|
328 | 130 |
|
131 |
points := OrderedCollection new. |
|
132 |
] |
|
133 |
]. |
|
134 |
||
135 |
v delegate:(eventCatcher) |
|
136 |
[exEnd] |
|
137 |
" |
|
138 |
! ! |
|
139 |
||
140 |
!ArrowedSpline methodsFor:'accessing'! |
|
141 |
||
142 |
arrowHeadAngle |
|
143 |
"return the arrowHeads angle, in degrees. |
|
144 |
The default is defined in Arrow (150 degrees)" |
|
145 |
||
146 |
arrowHeadAngle isNil ifTrue:[^ Arrow defaultAngle]. |
|
147 |
^ arrowHeadAngle |
|
148 |
||
149 |
"Created: 12.5.1996 / 23:13:27 / cg" |
|
150 |
"Modified: 12.5.1996 / 23:14:15 / cg" |
|
151 |
! |
|
152 |
||
153 |
arrowHeadAngle:angleInDegrees |
|
154 |
"set the arrowHeads angle, in degrees. |
|
155 |
The default is defined in Arrow (150 degrees)" |
|
156 |
||
157 |
arrowHeadAngle := angleInDegrees |
|
158 |
||
159 |
"Created: 12.5.1996 / 23:13:34 / cg" |
|
160 |
"Modified: 12.5.1996 / 23:14:24 / cg" |
|
161 |
! |
|
162 |
||
163 |
arrowHeadLength |
|
164 |
"return the arrowHeads length, in pixels. |
|
165 |
The default is define in Arrow (8 pixels)" |
|
166 |
||
167 |
arrowHeadLength isNil ifTrue:[^ Arrow defaultLength]. |
|
168 |
^ arrowHeadLength |
|
169 |
||
170 |
"Modified: 13.5.1996 / 00:44:30 / cg" |
|
171 |
! |
|
172 |
||
173 |
arrowHeadLength:pixels |
|
174 |
"set the arrowHeads length, in pixels. |
|
175 |
The default is defined in Arrow (8 pixels)" |
|
176 |
||
177 |
arrowHeadLength := pixels |
|
178 |
||
179 |
"Created: 12.5.1996 / 23:15:34 / cg" |
|
180 |
! |
|
181 |
||
182 |
arrowHeadPositions:collectionOfPositions |
|
183 |
"set the arrowHeads positions. Each collections element gives |
|
184 |
theindex of a controlPoint, on which an arrowHead is drawn. |
|
185 |
The default is #(<controlPoints size>) i.e. a single arrowHead |
|
186 |
on the last controlPoint. |
|
187 |
To have arrowHeads on all controlPoints, define arrowHeadPositions |
|
188 |
as (1 to:controlPoints size)" |
|
189 |
||
190 |
arrowHeadPositions := collectionOfPositions |
|
191 |
||
192 |
"Modified: 12.5.1996 / 23:14:24 / cg" |
|
193 |
"Created: 13.5.1996 / 00:47:23 / cg" |
|
194 |
! ! |
|
195 |
||
196 |
!ArrowedSpline methodsFor:'displaying'! |
|
197 |
||
359
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
198 |
arrowPoints |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
199 |
"helper: return a collection of arrow-points" |
328 | 200 |
|
201 |
|arrowHeadPoint len pos positions angle point grad xDis yDis |
|
359
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
202 |
savedLineStyle atn x1 x2 y1 y2 p1 p2 points i| |
328 | 203 |
|
389 | 204 |
firstDerivative isNil ifTrue:[ |
205 |
self computeLineSegments |
|
206 |
]. |
|
207 |
||
328 | 208 |
positions := arrowHeadPositions. |
209 |
positions isNil ifTrue:[ |
|
210 |
positions := Array with:(controlPoints size). |
|
211 |
]. |
|
212 |
||
213 |
len := arrowHeadLength. |
|
214 |
len isNil ifTrue:[ |
|
215 |
len := Arrow defaultLength |
|
216 |
]. |
|
217 |
||
218 |
angle := arrowHeadAngle. |
|
219 |
angle isNil ifTrue:[ |
|
220 |
angle := Arrow defaultAngle |
|
221 |
]. |
|
222 |
angle := angle degreesToRadians. |
|
223 |
||
359
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
224 |
points := Array new:(positions size * 3). |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
225 |
i := 1. |
328 | 226 |
positions do:[:index | |
227 |
| p deriv| |
|
228 |
||
229 |
p := controlPoints at:index. |
|
230 |
deriv := (firstDerivative at:index). |
|
231 |
deriv isNil ifTrue:[ |
|
232 |
deriv := (controlPoints at:index) - (controlPoints at:index-1). |
|
233 |
]. |
|
234 |
||
235 |
deriv x = 0 |
|
236 |
ifTrue: [grad := 9999999] |
|
237 |
ifFalse: [grad := deriv y / deriv x]. |
|
238 |
||
239 |
atn := grad arcTan. |
|
240 |
||
241 |
x1 := len * (angle - atn) cos. |
|
242 |
y1 := len * (angle - atn) sin. |
|
243 |
||
244 |
x2 := len * (angle + atn) cos. |
|
245 |
y2 := len * (angle + atn) sin. |
|
246 |
||
247 |
deriv x = 0 ifTrue: [ |
|
248 |
deriv y > 0 ifTrue: [ |
|
249 |
p1 := x1 @ (0 - y1). |
|
250 |
p2 := x2 @ (y2). |
|
251 |
] ifFalse: [ |
|
252 |
p1 := 0 - x1 @ (y1). |
|
253 |
p2 := 0 - x2 @ (0 - y2). |
|
254 |
] |
|
255 |
] ifFalse: [ |
|
256 |
deriv x > 0 ifTrue:[ |
|
257 |
p1 := x1 @ (0 - y1). |
|
258 |
p2 := x2 @ (y2). |
|
259 |
] ifFalse: [ |
|
260 |
p1 := 0 - x1 @ (y1). |
|
261 |
p2 := 0 - x2 @ (0 - y2) |
|
262 |
] |
|
263 |
]. |
|
264 |
||
359
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
265 |
points at:i put:p+p1. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
266 |
points at:i+1 put:p. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
267 |
points at:i+2 put:p+p2. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
268 |
i := i + 3 |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
269 |
]. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
270 |
|
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
271 |
^ points |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
272 |
|
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
273 |
"Created: 13.5.1996 / 00:50:49 / cg" |
389 | 274 |
"Modified: 5.6.1996 / 20:29:17 / cg" |
359
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
275 |
! |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
276 |
|
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
277 |
displayArrowsOn:aGC filled:filled |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
278 |
"display the receiver in the graphicsContext, aGC" |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
279 |
|
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
280 |
|arrowPoints savedLineStyle nP "{Class: SmallInteger }" |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
281 |
p1 p p2| |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
282 |
|
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
283 |
savedLineStyle := aGC lineStyle. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
284 |
aGC lineStyle:#solid. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
285 |
|
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
286 |
arrowPoints := self arrowPoints. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
287 |
nP := arrowPoints size. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
288 |
1 to:nP by:3 do:[:i | |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
289 |
p1 := arrowPoints at:i. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
290 |
p := arrowPoints at:i+1. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
291 |
p2 := arrowPoints at:i+2. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
292 |
|
328 | 293 |
filled ifTrue:[ |
359
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
294 |
aGC fillPolygon:(Array with:p1 with:p with:p2). |
328 | 295 |
] ifFalse:[ |
359
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
296 |
aGC displayLineFrom:p to:p1. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
297 |
aGC displayLineFrom:p to:p2. |
328 | 298 |
]. |
299 |
]. |
|
300 |
||
301 |
aGC lineStyle:savedLineStyle. |
|
302 |
||
303 |
"Created: 13.5.1996 / 00:50:49 / cg" |
|
304 |
"Modified: 13.5.1996 / 00:52:17 / cg" |
|
305 |
! |
|
306 |
||
307 |
displayFilledOn:aGC |
|
308 |
"display the receiver in the graphicsContext, aGC" |
|
309 |
||
310 |
super displayStrokedOn:aGC. |
|
311 |
self displayArrowsOn:aGC filled:true |
|
312 |
||
313 |
"Created: 13.5.1996 / 00:51:14 / cg" |
|
314 |
! |
|
315 |
||
316 |
displayStrokedOn:aGC |
|
317 |
"display the receiver in the graphicsContext, aGC" |
|
318 |
||
319 |
super displayStrokedOn:aGC. |
|
320 |
self displayArrowsOn:aGC filled:false |
|
321 |
||
322 |
"Created: 13.5.1996 / 00:51:14 / cg" |
|
323 |
"Modified: 13.5.1996 / 00:52:34 / cg" |
|
324 |
! ! |
|
325 |
||
359
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
326 |
!ArrowedSpline methodsFor:'queries'! |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
327 |
|
490
ef43c7a69346
added dummy Scale & InverseScale classVars.
Claus Gittinger <cg@exept.de>
parents:
446
diff
changeset
|
328 |
canBeFilled |
ef43c7a69346
added dummy Scale & InverseScale classVars.
Claus Gittinger <cg@exept.de>
parents:
446
diff
changeset
|
329 |
"return true, if the receiver can be drawn as a filled geometric. |
ef43c7a69346
added dummy Scale & InverseScale classVars.
Claus Gittinger <cg@exept.de>
parents:
446
diff
changeset
|
330 |
Always true here. Notice, that only the arrowHeads are filled." |
ef43c7a69346
added dummy Scale & InverseScale classVars.
Claus Gittinger <cg@exept.de>
parents:
446
diff
changeset
|
331 |
|
ef43c7a69346
added dummy Scale & InverseScale classVars.
Claus Gittinger <cg@exept.de>
parents:
446
diff
changeset
|
332 |
^ true |
ef43c7a69346
added dummy Scale & InverseScale classVars.
Claus Gittinger <cg@exept.de>
parents:
446
diff
changeset
|
333 |
|
ef43c7a69346
added dummy Scale & InverseScale classVars.
Claus Gittinger <cg@exept.de>
parents:
446
diff
changeset
|
334 |
! |
ef43c7a69346
added dummy Scale & InverseScale classVars.
Claus Gittinger <cg@exept.de>
parents:
446
diff
changeset
|
335 |
|
ef43c7a69346
added dummy Scale & InverseScale classVars.
Claus Gittinger <cg@exept.de>
parents:
446
diff
changeset
|
336 |
computeBounds |
359
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
337 |
"return the smallest enclosing rectangle" |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
338 |
|
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
339 |
|minX maxX minY maxY| |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
340 |
|
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
341 |
minX := maxX := 0. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
342 |
minY := maxY := 0. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
343 |
|
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
344 |
self arrowPoints do:[:p | |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
345 |
|x y| |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
346 |
|
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
347 |
x := p x. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
348 |
y := p y. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
349 |
minX := minX min:x. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
350 |
maxX := maxX max:x. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
351 |
minY := minY min:y. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
352 |
maxY := maxY max:y. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
353 |
]. |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
354 |
^ Rectangle left:minX right:maxX top:minY bottom:maxY |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
355 |
|
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
356 |
"Modified: 26.5.1996 / 13:08:48 / cg" |
490
ef43c7a69346
added dummy Scale & InverseScale classVars.
Claus Gittinger <cg@exept.de>
parents:
446
diff
changeset
|
357 |
"Created: 12.2.1997 / 11:42:41 / cg" |
359
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
358 |
! ! |
43a2b6857bc6
fixed bounds computation (care for arrows)
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
359 |
|
328 | 360 |
!ArrowedSpline class methodsFor:'documentation'! |
361 |
||
362 |
version |
|
1303 | 363 |
^ '$Header: /cvs/stx/stx/libbasic2/ArrowedSpline.st,v 1.9 2003-08-29 17:32:00 cg Exp $' |
328 | 364 |
! ! |