Colormap.st
changeset 917 d0ab9a4e0344
parent 808 f548a3c6ca8c
child 941 11fb72fb105c
equal deleted inserted replaced
916:ddc18f6280ed 917:d0ab9a4e0344
    15 	classVariableNames:''
    15 	classVariableNames:''
    16 	poolDictionaries:''
    16 	poolDictionaries:''
    17 	category:'Graphics-Images-Support'
    17 	category:'Graphics-Images-Support'
    18 !
    18 !
    19 
    19 
    20 !Colormap class methodsFor:'documentation'!
    20 !Colormap  class methodsFor:'documentation'!
    21 
    21 
    22 copyright
    22 copyright
    23 "
    23 "
    24  COPYRIGHT (c) 1994 by Claus Gittinger
    24  COPYRIGHT (c) 1994 by Claus Gittinger
    25 	      All Rights Reserved
    25 	      All Rights Reserved
    50     [see also:]
    50     [see also:]
    51         Color Image Form
    51         Color Image Form
    52 "
    52 "
    53 ! !
    53 ! !
    54 
    54 
    55 !Colormap class methodsFor:'instance creation'!
    55 !Colormap  class methodsFor:'instance creation'!
    56 
    56 
    57 fromColors:aColorArray
    57 fromColors:aColorArray
    58     "given a collection of real colors, return a new instance
    58     "given a collection of real colors, return a new instance
    59      of myself"
    59      of myself"
    60 
    60 
   232     redVector := r.
   232     redVector := r.
   233     greenVector := g.
   233     greenVector := g.
   234     blueVector := b.
   234     blueVector := b.
   235 
   235 
   236     "Modified: 23.4.1996 / 22:13:31 / cg"
   236     "Modified: 23.4.1996 / 22:13:31 / cg"
       
   237 ! !
       
   238 
       
   239 !Colormap methodsFor:'copying'!
       
   240 
       
   241 postCopy
       
   242     redVector := redVector copy.
       
   243     greenVector := greenVector copy.
       
   244     blueVector := blueVector copy.
       
   245 
       
   246     "Created: 5.7.1996 / 14:52:15 / cg"
   237 ! !
   247 ! !
   238 
   248 
   239 !Colormap methodsFor:'misc'!
   249 !Colormap methodsFor:'misc'!
   240 
   250 
   241 scaleValuesBy:scaleFactor
   251 scaleValuesBy:scaleFactor
   270 
   280 
   271     "Created: 30.5.1996 / 16:28:27 / ca"
   281     "Created: 30.5.1996 / 16:28:27 / ca"
   272     "Modified: 30.5.1996 / 16:32:44 / ca"
   282     "Modified: 30.5.1996 / 16:32:44 / ca"
   273 ! !
   283 ! !
   274 
   284 
   275 !Colormap class methodsFor:'documentation'!
   285 !Colormap  class methodsFor:'documentation'!
   276 
   286 
   277 version
   287 version
   278     ^ '$Header: /cvs/stx/stx/libview/Colormap.st,v 1.15 1996-06-08 13:35:06 cg Exp $'
   288     ^ '$Header: /cvs/stx/stx/libview/Colormap.st,v 1.16 1996-07-05 12:52:35 cg Exp $'
   279 ! !
   289 ! !