[Pkg] The Trunk: Graphics-ar.91.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Dec 10 08:34:56 UTC 2009

Andreas Raab uploaded a new version of Graphics to project The Trunk:

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

Name: Graphics-ar.91
Author: ar
Time: 10 December 2009, 12:34:13 pm
UUID: e8f3a2f6-a705-f547-81c5-ef5a63722e47
Ancestors: Graphics-nice.90

Add double-dispatched point transformation for easier extensibility and compatibility with existing transforms.

=============== Diff against Graphics-nice.90 ===============

Item was added:
+ ----- Method: DisplayTransform>>transformPoint: (in category 'transforming points') -----
+ transformPoint: aPoint
+ 	"Point transform double dispatch"
+ 	^self localPointToGlobal: aPoint!

Item was added:
+ ----- Method: Point>>transformedBy: (in category 'transforming') -----
+ transformedBy: aTransform
+ 	"Point transform double dispatch"
+ 	^aTransform transformPoint: self!

Item was added:
+ ----- Method: MorphicTransform>>transformPoint: (in category 'transformations') -----
+ transformPoint: aPoint
+ 	"Point transform double dispatch"
+ 	^self transform: aPoint!

More information about the Packages mailing list