[FIX] Fixes to Path

Andrew P. Black apb at cse.ogi.edu
Mon Apr 23 17:51:54 UTC 2001


 From the preamble:

"Change Set:		PathFixes
Date:			23 April 2001
Author:			Andrew P. Black

Path is perhaps a vestigial class, but there is no reason for it to be broken.
The idea is that a path is a collection of points, but it is in the 
DisplayObject hierarchy.  So it is missing about 300 collection 
methods.
I'm not going to implement them all, but do: is perhaps the most 
important, and it was missing.  collect: and select: were present, 
but broken (they answered collections, not paths).
There is enough behaviour here now to permit paths to be used as the 
vertices argument in creating a PolygonMorph.

The class method fromUser is useful for demos."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PathFixes.3.cs
Type: application/octet-stream
Size: 2796 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010423/f63e13e5/PathFixes.3.obj


More information about the Squeak-dev mailing list