[Pharo-project] Canvas >>draw: anObject

Stéphane Ducasse stephane.ducasse at inria.fr
Mon Feb 7 22:41:08 CET 2011


Canvas>>draw: anObject
	^anObject drawOn: self


Now in SM we got 

SMxCanvas>>draw: anObject
	^self clipBy: anObject bounds during: [ :c | anObject drawOn: c]

and I'm wondering what is the exact difference.
Any idea?

Stef




More information about the Pharo-project mailing list