j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Frank Shearar uploaded a new version of Morphic to project The Trunk: http://source.squeak.org/trunk/Morphic-fbs.656.mcz
==================== Summary ====================
Name: Morphic-fbs.656 Author: fbs Time: 3 June 2013, 6:56:49.298 pm UUID: 72379fac-2663-4f14-af9b-fcf052179554 Ancestors: Morphic-fbs.655
Levente Uzonyi points out that #stencil is quite general, so belongs in Morphic-Support, rather than EToys.
=============== Diff against Morphic-fbs.655 ===============
Item was added: + ----- Method: Form>>stencil (in category '*Morphic-Support-image manipulation') ----- + 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@0 + sourceRect: (Rectangle origin: 0@0 corner: self extent) color: Color black. + + ^ canvas form + !
squeak-dev@lists.squeakfoundation.org