For the order, I think at the time I was optimising for the #is... methods, being that the topmost is considered first. Not sure is makes much difference to be fair though...
Regards, Gary.
-----Original Message----- From: ui-bounces@lists.squeakfoundation.org [mailto:ui-bounces@lists.squeakfoundation.org]On Behalf Of Igor Stasenko Sent: 23 May 2008 10:44 PM To: Squeak's User Interface; The general-purpose Squeak developers list Subject: [UI] Composite fill styles in action (or what to do when you bored).
Just do following script in latest squeak-dev image with UI enhancements installed.
World fillStyle: ( CompositeFillStyle fillStyles: { BitmapFillStyle fromForm: ( (Form extent: 1@2 depth: 32) colorAt: 0@0 put: (Color transparent) ; colorAt: 0@1 put: (Color gray)). World fillStyle. })
2 Gary Chambers: quite confused why style listed last drawn first? As for me it is more logical to fill in order of appearance in code, not in reverse.. or i missing something?
-- Best regards, Igor Stasenko AKA sig. _______________________________________________ UI mailing list UI@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/ui