[squeak-dev] The Inbox: Graphics-bp.321.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jan 10 22:59:53 UTC 2016


Bernhard Pieber uploaded a new version of Graphics to project The Inbox:
http://source.squeak.org/inbox/Graphics-bp.321.mcz

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

Name: Graphics-bp.321
Author: bp
Time: 10 January 2016, 11:51:49.880912 pm
UUID: bf6630e1-72ec-40cb-85ef-bea3213c0456
Ancestors: Graphics-eem.320, Graphics-bp.318

merged

=============== Diff against Graphics-eem.320 ===============

Item was added:
+ ----- Method: Rectangle>>bottomHalf (in category 'transforming') -----
+ bottomHalf
+ 	^self withTop: self center y!

Item was added:
+ ----- Method: Rectangle>>bottomLeftQuadrant (in category 'transforming') -----
+ bottomLeftQuadrant
+ 	^self leftCenter corner: self bottomCenter!

Item was added:
+ ----- Method: Rectangle>>bottomRightQuadrant (in category 'transforming') -----
+ bottomRightQuadrant
+ 	^self center corner: self bottomRight!

Item was added:
+ ----- Method: Rectangle>>leftHalf (in category 'transforming') -----
+ leftHalf
+ 	^self withRight: self center x!

Item was added:
+ ----- Method: Rectangle>>rightHalf (in category 'truncation and round off') -----
+ rightHalf
+ 	^self withLeft: self center x!

Item was added:
+ ----- Method: Rectangle>>topHalf (in category 'transforming') -----
+ topHalf
+ 	^self withBottom: self center y!

Item was added:
+ ----- Method: Rectangle>>topLeftQuadrant (in category 'transforming') -----
+ topLeftQuadrant
+ 	^self topLeft corner: self center!

Item was added:
+ ----- Method: Rectangle>>topRightQuadrant (in category 'transforming') -----
+ topRightQuadrant
+ 	^self topCenter corner: self rightCenter!



More information about the Squeak-dev mailing list