[Pkg] The Trunk: Graphics-fbs.214.mcz
commits at source.squeak.org
commits at source.squeak.org
Sat Jul 6 14:51:16 UTC 2013
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!
More information about the Packages
mailing list