The Trunk: Graphics-ar.130.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Graphics-ar.130.mcz

commits-2
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)!