equal
deleted
inserted
replaced
291 "Created: 11.7.1996 / 20:19:45 / cg" |
291 "Created: 11.7.1996 / 20:19:45 / cg" |
292 "Modified: 11.7.1996 / 21:34:16 / cg" |
292 "Modified: 11.7.1996 / 21:34:16 / cg" |
293 ! ! |
293 ! ! |
294 |
294 |
295 !Colormap methodsFor:'copying'! |
295 !Colormap methodsFor:'copying'! |
|
296 |
|
297 copyFrom:start to:stop |
|
298 ^ self class withColors:(self asArray copyFrom:start to:stop) |
|
299 ! |
296 |
300 |
297 postCopy |
301 postCopy |
298 redVector := redVector copy. |
302 redVector := redVector copy. |
299 greenVector := greenVector copy. |
303 greenVector := greenVector copy. |
300 blueVector := blueVector copy. |
304 blueVector := blueVector copy. |
369 ! ! |
373 ! ! |
370 |
374 |
371 !Colormap class methodsFor:'documentation'! |
375 !Colormap class methodsFor:'documentation'! |
372 |
376 |
373 version |
377 version |
374 ^ '$Header: /cvs/stx/stx/libview/Colormap.st,v 1.25 1999-02-11 18:16:28 cg Exp $' |
378 ^ '$Header: /cvs/stx/stx/libview/Colormap.st,v 1.26 1999-03-05 17:05:40 tm Exp $' |
375 ! ! |
379 ! ! |