Colormap.st
changeset 943 f38904633f22
parent 941 11fb72fb105c
child 944 8d100ca5857c
--- a/Colormap.st	Thu Jul 11 21:27:46 1996 +0200
+++ b/Colormap.st	Thu Jul 11 21:29:45 1996 +0200
@@ -236,7 +236,7 @@
     "Modified: 23.4.1996 / 22:13:31 / cg"
 ! !
 
-!Colormap methodsFor:'copying'!
+!Colormap methodsFor:'converting'!
 
 asArray
     "return the recevier as an array containing colors"
@@ -257,10 +257,14 @@
                             scaledRed:(r * scale) rounded
                             scaledGreen:(g * scale) rounded
                             scaledBlue:(b * scale) rounded)
-    ]
+    ].
+    ^ array
 
     "Created: 11.7.1996 / 20:19:45 / cg"
-!
+    "Modified: 11.7.1996 / 21:29:30 / cg"
+! !
+
+!Colormap methodsFor:'copying'!
 
 postCopy
     redVector := redVector copy.
@@ -309,5 +313,5 @@
 !Colormap  class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/Colormap.st,v 1.17 1996-07-11 18:51:47 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/Colormap.st,v 1.18 1996-07-11 19:29:45 cg Exp $'
 ! !