[squeak-dev] The Trunk: EToys-cbc.334.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jun 13 04:53:31 UTC 2018


Chris Cunningham uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-cbc.334.mcz

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

Name: EToys-cbc.334
Author: cbc
Time: 12 June 2018, 9:53:07.614851 pm
UUID: 7b371c28-631f-374b-96cd-0dfcbac9b287
Ancestors: EToys-hjh.333

moved #rotationCenter and #rotationCenter: to base (Morphic) package in category 'rotate scale and flex'

=============== Diff against EToys-hjh.333 ===============

Item was removed:
- ----- Method: Morph>>referencePosition (in category '*Etoys-geometry') -----
- referencePosition
- 	"Return the current reference position of the receiver"
- 	| box |
- 	box := self bounds.
- 	^box origin + (self rotationCenter * box extent).
- !

Item was removed:
- ----- Method: Morph>>referencePosition: (in category '*Etoys-geometry') -----
- referencePosition: aPosition
- 	"Move the receiver to match its reference position with aPosition"
- 	| newPos intPos |
- 	newPos := self position + (aPosition - self referencePosition).
- 	intPos := newPos asIntegerPoint.
- 	newPos = intPos 
- 		ifTrue:[self position: intPos]
- 		ifFalse:[self position: newPos].!



More information about the Squeak-dev mailing list