Depth32Image.st
changeset 7514 cdfa1afc6956
parent 7497 62a3648614ff
child 7542 9e125aa140f9
child 7819 1dd77ab4b48f
equal deleted inserted replaced
7513:69d02ee0a01a 7514:cdfa1afc6956
     1 "{ Encoding: utf8 }"
       
     2 
       
     3 "
     1 "
     4  COPYRIGHT (c) 1995 by Claus Gittinger
     2  COPYRIGHT (c) 1995 by Claus Gittinger
     5 	      All Rights Reserved
     3 	      All Rights Reserved
     6 
     4 
     7  This software is furnished under a license and may be used
     5  This software is furnished under a license and may be used
   139     super colorAtX:x y:y put:aColor. 
   137     super colorAtX:x y:y put:aColor. 
   140 !
   138 !
   141 
   139 
   142 pixelAtX:x y:y
   140 pixelAtX:x y:y
   143     "retrieve a pixel at x/y; return a pixelValue.
   141     "retrieve a pixel at x/y; return a pixelValue.
       
   142      The interpretation of the returned value depends on the photometric
       
   143      and the colormap. See also Image>>atX:y:)
   144      Pixels start at x=0 , y=0 for upper left pixel, end at
   144      Pixels start at x=0 , y=0 for upper left pixel, end at
   145      x = width-1, y=height-1 for lower right pixel.
   145      x = width-1, y=height-1 for lower right pixel.
   146      The pixel value contains r/g/b/a in msb order (i.e. r at high, a at low bits)"
   146      The pixel value contains r/g/b/a in msb order (i.e. r at high, a at low bits)"
   147 
   147 
   148     |pixelIndex "{ Class: SmallInteger }"|
   148     |pixelIndex "{ Class: SmallInteger }"|
   181     "Modified: 24.4.1997 / 23:11:05 / cg"
   181     "Modified: 24.4.1997 / 23:11:05 / cg"
   182 !
   182 !
   183 
   183 
   184 pixelAtX:x y:y put:aPixelValue
   184 pixelAtX:x y:y put:aPixelValue
   185     "set the pixel at x/y to aPixelValue.
   185     "set the pixel at x/y to aPixelValue.
       
   186      The interpretation of the pixelValue depends on the photometric
       
   187      and the colormap. (see also: Image>>atX:y:put:)
   186      Pixels start at x=0 , y=0 for upper left pixel, end at
   188      Pixels start at x=0 , y=0 for upper left pixel, end at
   187      x = width-1, y=height-1 for lower right pixel"
   189      x = width-1, y=height-1 for lower right pixel"
   188 
   190 
   189     |pixelIndex "{ Class: SmallInteger }"|
   191     |pixelIndex "{ Class: SmallInteger }"|
   190 
   192