ImageMask.st
changeset 1626 bc20e8147ab5
child 2679 aaf12b43b321
equal deleted inserted replaced
1625:e7fa1555a82d 1626:bc20e8147ab5
       
     1 "
       
     2  COPYRIGHT (c) 1997 by eXept Software AG / Claus Gittinger
       
     3               All Rights Reserved
       
     4 
       
     5  This software is furnished under a license and may be used
       
     6  only in accordance with the terms of that license and with the
       
     7  inclusion of the above copyright notice.   This software may not
       
     8  be provided or otherwise made available to, or used by, any
       
     9  other person.  No title to or ownership of the software is
       
    10  hereby transferred.
       
    11 "
       
    12 
       
    13 
       
    14 Depth1Image subclass:#ImageMask
       
    15 	instanceVariableNames:''
       
    16 	classVariableNames:''
       
    17 	poolDictionaries:''
       
    18 	category:'Graphics-Images'
       
    19 !
       
    20 
       
    21 !ImageMask class methodsFor:'documentation'!
       
    22 
       
    23 copyright
       
    24 "
       
    25  COPYRIGHT (c) 1997 by eXept Software AG / Claus Gittinger
       
    26               All Rights Reserved
       
    27 
       
    28  This software is furnished under a license and may be used
       
    29  only in accordance with the terms of that license and with the
       
    30  inclusion of the above copyright notice.   This software may not
       
    31  be provided or otherwise made available to, or used by, any
       
    32  other person.  No title to or ownership of the software is
       
    33  hereby transferred.
       
    34 "
       
    35 
       
    36 !
       
    37 
       
    38 documentation
       
    39 "
       
    40     instances of this class represent image masks;
       
    41     if added to an image (via #mask:), only pixels for which the 
       
    42     corresponding mask pixel is 1 are drawn.
       
    43 
       
    44     ImageMask does not add anything new - basically, its a depth1-image.
       
    45 
       
    46     [See also:]
       
    47         Image ImageReader
       
    48 
       
    49     [author:]
       
    50         Claus Gittinger
       
    51 "
       
    52 
       
    53 ! !
       
    54 
       
    55 !ImageMask methodsFor:'queries'!
       
    56 
       
    57 isMask
       
    58     ^ true
       
    59 
       
    60     "Created: 22.4.1997 / 14:12:20 / cg"
       
    61 ! !
       
    62 
       
    63 !ImageMask class methodsFor:'documentation'!
       
    64 
       
    65 version
       
    66     ^ '$Header: /cvs/stx/stx/libview/ImageMask.st,v 1.1 1997-04-22 12:17:55 cg Exp $'
       
    67 ! !