[squeak-dev] The Trunk: EToys-fbs.100.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jun 3 17:59:03 UTC 2013


Frank Shearar uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-fbs.100.mcz

==================== Summary ====================

Name: EToys-fbs.100
Author: fbs
Time: 3 June 2013, 6:58:08.694 pm
UUID: 3955700e-7f2c-4f66-af98-16359b08034b
Ancestors: EToys-fbs.99

Levente Uzonyi points out that #stencil is quite general, so belongs in Morphic-Support, rather than EToys.

=============== Diff against EToys-fbs.99 ===============

Item was removed:
- ----- Method: Form>>stencil (in category '*EToys-Scripting') -----
- stencil
- 	"return a 1-bit deep, black-and-white stencil of myself"
- 
- 	| canvas |
- 	canvas := FormCanvas extent: self extent depth: 1.
- 	canvas fillColor: (Color white).
- 
- 	canvas stencil: self at: 0 at 0  
- 				sourceRect: (Rectangle origin: 0 at 0 corner: self extent) color: Color black.
- 
- 	^ canvas form
- !



More information about the Squeak-dev mailing list