Andreas Raab uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-ar.126.mcz==================== Summary ====================
Name: Graphics-ar.126
Author: ar
Time: 24 March 2010, 9:08:16.867 pm
UUID: 6be384c0-4e6f-bd48-90a3-bd7fe97ec64e
Ancestors: Graphics-cmm.125
Add Form>>lighter and Form>>darker.
=============== Diff against Graphics-cmm.125 ===============
Item was added:
+ ----- Method: Form>>lighter (in category 'converting') -----
+ lighter
+ "Answer a lighter variant of this form"
+
+ ^ Form
+ extent: self extent
+ depth: self depth
+ bits: (self bits collect: [:bit |
+ (Color colorFromPixelValue: bit depth: self depth)
+ lighter lighter
+ pixelValueForDepth: self depth])!
Item was added:
+ ----- Method: Form>>darker (in category 'converting') -----
+ darker
+ "Answer a darker variant of this form."
+
+ ^ Form
+ extent: self extent
+ depth: self depth
+ bits: (self bits collect: [:bit |
+ (Color colorFromPixelValue: bit depth: self depth)
+ darker darker
+ pixelValueForDepth: self depth])!