The Trunk: Help-Squeak-TerseGuide-kfr.5.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Help-Squeak-TerseGuide-kfr.5.mcz

commits-2
Karl Ramberg uploaded a new version of Help-Squeak-TerseGuide to project The Trunk:
http://source.squeak.org/trunk/Help-Squeak-TerseGuide-kfr.5.mcz

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

Name: Help-Squeak-TerseGuide-kfr.5
Author: kfr
Time: 7 May 2015, 9:38:42.385 am
UUID: 75a587af-6dbb-ee4b-b469-ad18259f34f8
Ancestors: Help-Squeak-TerseGuide-dhn.4

Expanded Rectangle guide a little

=============== Diff against Help-Squeak-TerseGuide-dhn.4 ===============

Item was changed:
  ----- Method: TerseGuideHelp class>>rectangle (in category 'pages') -----
  rectangle
 
  ^HelpTopic
  title: 'Rectangle'
  contents:
 
  '"************************************************************************
   * Rectangle: *
   ************************************************************************"
  Rectangle fromUser.
+ Rectangle origin: 0@0 corner: 100@100 "Origin and corners are absolute points"
+ Rectangle origin: 80@40 extent: 50@50 "Extent is added to origin"
+ Rectangle center: 40@50 extent: 30@20 "Center is half of extent"
+ Rectangle left: 1 right: 20 top: 1 bottom: 10
+  
+ | col |
+ col := OrderedCollection new.
+ col add: (Rectangle center: 40@50 extent: 30@20).
+ col add: (Rectangle left: 1 right: 20 top: 1 bottom: 10).
+ Rectangle merging: col
 
  '!