[UI] Composite fill styles in action (or what to do when youbored).

Gary Chambers gazzaguru2 at btinternet.com
Tue May 27 13:15:23 UTC 2008


Also it matches the order of submorphs in Morphic...

> -----Original Message-----
> From: ui-bounces at lists.squeakfoundation.org
> [mailto:ui-bounces at lists.squeakfoundation.org]On Behalf Of Gary Chambers
> Sent: 27 May 2008 9:52 AM
> To: Squeak's User Interface
> Subject: RE: [UI] Composite fill styles in action (or what to do when
> youbored).
> 
> 
> 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 at lists.squeakfoundation.org
> > [mailto:ui-bounces at 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 at 2 depth: 32) colorAt: 0 at 0 put: (Color transparent) ;
> > colorAt: 0 at 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 at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/mailman/listinfo/ui
> > 
> 
> _______________________________________________
> UI mailing list
> UI at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/ui
> 



More information about the UI mailing list