The Trunk: Graphics-ct.439.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-ct.439.mcz

commits-2
Nicolas Cellier uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-ct.439.mcz

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

Name: Graphics-ct.439
Author: ct
Time: 17 September 2020, 1:05:42.958813 pm
UUID: 523992a5-7677-d14c-a4b1-e2a676e92c6b
Ancestors: Graphics-tonyg.438

Fixes transparency handling in Color >> #negated. Negating a color should not remove its alpha channel.

=============== Diff against Graphics-tonyg.438 ===============

Item was changed:
  ----- Method: Color>>negated (in category 'transformations') -----
  negated
  "Return an RGB inverted color"
  ^Color
  r: 1.0 - self red
  g: 1.0 - self green
+ b: 1.0 - self blue
+ alpha: self alpha!
- b: 1.0 - self blue!