[squeak-dev] Composite fill styles in action (or what to do when you bored).

Igor Stasenko siguctua at gmail.com
Fri May 23 21:43:38 UTC 2008


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.



More information about the Squeak-dev mailing list