Login  Register

RE: Composite fill styles in action (or what to do when you bored).

Posted by Gary Chambers-4 on May 27, 2008; 8:52am
URL: https://forum.world.st/Composite-fill-styles-in-action-or-what-to-do-when-you-bored-tp133999p134001.html

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: [hidden email]
> [mailto:[hidden email]]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
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/ui
>

_______________________________________________
UI mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/ui