The Trunk: Graphics-mt.387.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-mt.387.mcz

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

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

Name: Graphics-mt.387
Author: mt
Time: 5 December 2017, 7:39:11.735052 am
UUID: d672e9af-b20d-284b-9e54-799643bcd0ee
Ancestors: Graphics-pre.386

Updates workaround to fix broken colors after scaling color(-palette) forms.

=============== Diff against Graphics-pre.386 ===============

Item was removed:
- ----- Method: ColorForm>>scaledToSize: (in category 'scaling, rotation') -----
- scaledToSize: newExtent
-
- "super method did not seem to work so well on ColorForms"
-
- ^(self asFormOfDepth: 16) scaledToSize: newExtent!

Item was added:
+ ----- Method: ColorForm>>scaledToSize:smoothing: (in category 'scaling, rotation') -----
+ scaledToSize: newExtent smoothing: factor
+ "super method did not seem to work so well on ColorForms"
+
+ ^(self asFormOfDepth: 32) scaledToSize: newExtent smoothing: factor!