The Trunk: Graphics-fbs.214.mcz

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

The Trunk: Graphics-fbs.214.mcz

commits-2
Frank Shearar uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-fbs.214.mcz

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

Name: Graphics-fbs.214
Author: fbs
Time: 6 July 2013, 3:50:24.592 pm
UUID: 478c2db0-09d3-f241-973b-9016eb7de10a
Ancestors: Graphics-fbs.213

Converter methods belong in the package to which the converted-to classes belong.

=============== Diff against Graphics-fbs.213 ===============

Item was added:
+ ----- Method: Integer>>asColorOfDepth: (in category '*Graphics-converting') -----
+ asColorOfDepth: d
+ "Return a color value representing the receiver as color of the given depth"
+ ^Color colorFromPixelValue: self depth: d!

Item was added:
+ ----- Method: Number>>@ (in category '*Graphics-converting') -----
+ @ y
+ "Primitive. Answer a Point whose x value is the receiver and whose y
+ value is the argument. Optional. No Lookup. See Object documentation
+ whatIsAPrimitive."
+
+ <primitive: 18>
+ ^Point x: self y: y!