[FIX] PolygonMorph

Hal Eden haleden at cs.colorado.edu
Sun Jan 13 00:42:36 UTC 2002


description: this "fixes" the case that when the curve is closed and 
smoothing is on,  smoothing does not occur across the start/end point.

i guess it could be the case that that is the desired behavior, but i 
didn't find any cases that relied on this as a "feature" and i wanted a 
completely smooth closed curve (for our bus routes). i have been using 
this for some time (since 2.6) and it seems to work fine there and in 
2.8.  I just tried it in 3.2 and did not run into any problems.

i suppose that this could become another option to this class, just as 
open/closed, smoothed/unsmoothed, but it appeared that there were 
initial elements in the code to handle it as the behavior as i have 
done, and there don't seem to be any things that it breaks (though it 
does change the appearance of curveMorph, e.g., when you drag it from 
"supplies").


what say ye, harvesters?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PolygonMorph-coefficients.st
Type: application/octet-stream
Size: 2066 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020112/32e3d885/PolygonMorph-coefficients.obj
-------------- next part --------------




hal


More information about the Squeak-dev mailing list