[squeak-dev] The Trunk: Graphics-fbs.211.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jun 2 18:06:05 UTC 2013


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

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

Name: Graphics-fbs.211
Author: fbs
Time: 2 June 2013, 7:05:25.648 pm
UUID: 65a2ecea-af2e-42cd-b61e-aece057c0e7b
Ancestors: Graphics-fbs.210

Form >> #stencil and Pen >> #putDotOfDiameter:at: are only called from EToys code, so they belong in EToys.

=============== Diff against Graphics-fbs.210 ===============

Item was removed:
- ----- Method: Form>>stencil (in category '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 at 0  
- 				sourceRect: (Rectangle origin: 0 at 0 corner: self extent) color: Color black.
- 
- 	^ canvas form
- !

Item was removed:
- ----- Method: Pen>>putDotOfDiameter:at: (in category 'operations') -----
- putDotOfDiameter: aDiameter at: aPoint
- 	"Put a dot of the given size at the given point, using my colot"
- 
- 	(FormCanvas on: destForm) 
- 			fillOval: (Rectangle center: aPoint extent: (aDiameter @ aDiameter))
- 			color: self color!



More information about the Squeak-dev mailing list