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

commits at source.squeak.org commits at source.squeak.org
Tue Dec 5 06:39:36 UTC 2017


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!



More information about the Squeak-dev mailing list