class: Color
authorClaus Gittinger <cg@exept.de>
Sun, 22 Feb 2015 13:31:03 +0100
changeset 6785 7babceb91298
parent 6784 8272fd4450b1
child 6786 37534f725fce
class: Color comment/format in: #deltaFrom:
Color.st
--- a/Color.st	Sat Feb 21 13:08:24 2015 +0100
+++ b/Color.st	Sun Feb 22 13:31:03 2015 +0100
@@ -11,6 +11,8 @@
 "
 "{ Package: 'stx:libview' }"
 
+"{ NameSpace: Smalltalk }"
+
 Object subclass:#Color
 	instanceVariableNames:'red green blue device colorId ditherForm replacementColor
 		writable'
@@ -5402,7 +5404,10 @@
 
 deltaFrom:aColor
     "return the distance of the receiver from some color specified
-     by r/g/b values"
+     by r/g/b values.
+     A very questionable value;
+     basing the distance on rgb values is very bad 
+     - better do a distance in a cie color cone"
 
     ^ aColor deltaFromRed:self red green:self green blue:self blue
 
@@ -5620,11 +5625,11 @@
 !Color class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/Color.st,v 1.236 2014-12-09 15:36:50 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/Color.st,v 1.237 2015-02-22 12:31:03 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview/Color.st,v 1.236 2014-12-09 15:36:50 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/Color.st,v 1.237 2015-02-22 12:31:03 cg Exp $'
 ! !