Depth16Image.st
changeset 7520 c89730e74836
parent 7209 c4cb8c02e820
child 7815 2e9d68bbeeb6
equal deleted inserted replaced
7519:c0603c8183dc 7520:c89730e74836
     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
    76 
    74 
    77 !Depth16Image methodsFor:'accessing-pixels'!
    75 !Depth16Image methodsFor:'accessing-pixels'!
    78 
    76 
    79 pixelAtX:x y:y
    77 pixelAtX:x y:y
    80     "retrieve a pixel at x/y; return a pixelValue.
    78     "retrieve a pixel at x/y; return a pixelValue.
       
    79      The interpretation of the returned value depends on the photometric
       
    80      and the colormap. See also Image>>atX:y:)
    81      Pixels start at x=0 , y=0 for upper left pixel, end at
    81      Pixels start at x=0 , y=0 for upper left pixel, end at
    82      x = width-1, y=height-1 for lower right pixel"
    82      x = width-1, y=height-1 for lower right pixel"
    83 
    83 
    84     |lineIndex "{ Class: SmallInteger }"|
    84     |lineIndex "{ Class: SmallInteger }"|
    85 
    85 
    92     "Created: 24.4.1997 / 16:06:19 / cg"
    92     "Created: 24.4.1997 / 16:06:19 / cg"
    93 !
    93 !
    94 
    94 
    95 pixelAtX:x y:y put:aPixelValue
    95 pixelAtX:x y:y put:aPixelValue
    96     "set the pixel at x/y to aPixelValue.
    96     "set the pixel at x/y to aPixelValue.
       
    97      The interpretation of the pixelValue depends on the photometric
       
    98      and the colormap. (see also: Image>>atX:y:put:)
    97      Pixels start at x=0 , y=0 for upper left pixel, end at
    99      Pixels start at x=0 , y=0 for upper left pixel, end at
    98      x = width-1, y=height-1 for lower right pixel"
   100      x = width-1, y=height-1 for lower right pixel"
    99 
   101 
   100     |lineIndex "{ Class: SmallInteger }"|
   102     |lineIndex "{ Class: SmallInteger }"|
   101 
   103