[Pkg] The Trunk: Balloon-ar.17.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Sep 2 05:49:14 UTC 2010


Andreas Raab uploaded a new version of Balloon to project The Trunk:
http://source.squeak.org/trunk/Balloon-ar.17.mcz

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

Name: Balloon-ar.17
Author: ar
Time: 1 September 2010, 10:48:04.864 pm
UUID: 42038830-f5bc-6041-920f-2c2bf38192ee
Ancestors: Balloon-ar.16

Reclassify methods to fix various package dependencies.

=============== Diff against Balloon-ar.16 ===============

Item was changed:
  ----- Method: Bezier3Segment class>>example2 (in category 'examples') -----
  example2
  	"draws a cubic bezier on the screen"
  	| c canvas |
  	c := Bezier3Segment new
  				from: 0 @ 0
  				via: 0 @ 100
  				and: 100 @ 0
  				to: 100 @ 100.
+ 	canvas := Display getCanvas asBalloonCanvas
- 	canvas := BalloonCanvas on: Display.
  	canvas aaLevel: 4.
  	canvas
  		drawBezier3Shape: c asPointArray
  		color: Color transparent
  		borderWidth: 1
  		borderColor: Color black!

Item was added:
+ ----- Method: SequenceableCollection>>asPointArray (in category '*Balloon') -----
+ asPointArray
+ 	"Answer an PointArray whose elements are the elements of the receiver, in 
+ 	the same order."
+ 
+ 	| pointArray |
+ 	pointArray := PointArray new: self size.
+ 	1 to: self size do:[:i| pointArray at: i put: (self at: i)].
+ 	^pointArray!



More information about the Packages mailing list