[squeak-dev] The Trunk: Graphics-mt.313.mcz

commits at source.squeak.org commits at source.squeak.org
Sun May 10 12:04:26 UTC 2015


Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-mt.313.mcz

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

Name: Graphics-mt.313
Author: mt
Time: 10 May 2015, 2:04:07.524 pm
UUID: 99af1adc-65b3-5549-8d10-ab452e0c59e5
Ancestors: Graphics-mt.312

Conveniently adjust saturation or brightness of forms.

=============== Diff against Graphics-mt.312 ===============

Item was added:
+ ----- Method: Form>>adjustBrightness: (in category 'converting') -----
+ adjustBrightness: brightness
+ 
+ 	^ self collectColors: [:color | color adjustSaturation: 0 brightness: brightness]!

Item was added:
+ ----- Method: Form>>adjustSaturation: (in category 'converting') -----
+ adjustSaturation: saturation
+ 
+ 	^ self collectColors: [:color | color adjustSaturation: saturation brightness: 0]!



More information about the Squeak-dev mailing list