[squeak-dev] The Trunk: Graphics-ar.130.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Apr 3 05:37:23 UTC 2010


Andreas Raab uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-ar.130.mcz

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

Name: Graphics-ar.130
Author: ar
Time: 2 April 2010, 10:36:24.417 pm
UUID: d1d8720e-3f9c-6f46-a104-3a2fcaa671b6
Ancestors: Graphics-nice.129

Fix http://bugs.squeak.org/view.php?id=7492

=============== Diff against Graphics-nice.129 ===============

Item was changed:
  ----- Method: Form>>collectPixels: (in category 'converting') -----
  collectPixels: aBlock
  	"Create a new copy of the receiver with all the pixels transformed by aBlock"
+ 	self depth = 32 ifFalse:[
+ 		"Perform the operation in 32bpp"
+ 		^((self asFormOfDepth: 32) collectPixels: aBlock) asFormOfDepth: self depth].
- 	self depth = 32 ifFalse:[^self error: 'Not implemented for depth ', self depth].
  	self unhibernate. "ensure unhibernated before touching bits"
  	^Form 
  		extent: self extent 
  		depth: self depth
  		bits: (self bits collect: aBlock)!




More information about the Squeak-dev mailing list