Subclassing/coercion

Tim Olson tim at jumpnet.com
Tue Sep 22 14:15:28 UTC 1998


>On Mon 21 Sep, Ian Bicking wrote:
>> I want to be able to create a Form that can pretend to be an
>> IndexedCollection
>Does the fact that the pixels are contained in the 'bits' object which is
>a Bitmap not excite your interest? It's a subclass of ArrayedCollection and
>so has plenty of collection protocol already there for your pleasure.

But the raw data stored in the bitmap is not very amenable to FFTs, since 
it is packed RGB or indexed color data, packed into a 32-bit word based 
upon the form's depth.

Perhaps Ian can describe a bit more about what he wants this Form 
subclass to do with respect to indexing and FFTs.



     -- tim





More information about the Squeak-dev mailing list