Well, not that small.
After a lengthy discussion with Sig (Igor) last night we came to the
conclusion that it would be nice to improve the behaviour of
colours/fillstyles passed to canvases for drawing.
At present, the canvas code directly checks the type of fillstyle and does
things accordingly. It would, IMHO, be better if the canvas
double-dispatched to the fillstyle to achieve its ends.
This would allow, for instance, a CompositeFillStyle class to be
implemented, facilitating fills of the kind shown in the attachments (from
Sig).
All without having to rework Morphic's handling of its fillstyles (short of
actually assigning a new kind of fillstyle to a particular Morph).
Even the more esoteric example from Sig (star_fills) would be possible.
Of course, the suggested composite fill would be cool enough!
Comments around this would be welcome before I proceed...
Regards, Gary.
_______________________________________________
UI mailing list
UI@...
http://lists.squeakfoundation.org/mailman/listinfo/ui