#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Tue, 27 Mar 2018 15:40:58 +0200
changeset 8320 af8021f5dbf7
parent 8319 bdc89880bdd8
child 8321 d1814cac8c46
#DOCUMENTATION by cg class: Depth1Image comment/format in: #pixelAtX:y: #pixelAtX:y:put:
Depth1Image.st
--- a/Depth1Image.st	Tue Mar 27 13:28:58 2018 +0200
+++ b/Depth1Image.st	Tue Mar 27 15:40:58 2018 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1993 by Claus Gittinger
 	      All Rights Reserved
@@ -71,7 +69,7 @@
 !Depth1Image methodsFor:'accessing-pixels'!
 
 pixelAtX:x y:y
-    "retrieve a pixelValue at x/y; return a pixel value.
+    "retrieve a pixelValue at x/y; return a pixel value (0 or 1).
      The interpretation of the returned value depends on the photometric
      and the colormap. See also Image>>atX:y:)
      Pixels start at 0@0 for upper left pixel, end at
@@ -119,7 +117,7 @@
 !
 
 pixelAtX:x y:y put:aPixelValue
-    "set a pixel's value at x/y to aPixelValue.
+    "set a pixel's value at x/y to aPixelValue (0 or 1).
      The interpretation of the pixelValue depends on the photometric
      and the colormap. (see also: Image>>atX:y:put:)
      Pixels start at x=0 , y=0 for the upper left pixel,