equal
deleted
inserted
replaced
422 device getScaledRGBFrom:pixel into:[:r :g :b | |
422 device getScaledRGBFrom:pixel into:[:r :g :b | |
423 ^ Color scaledRed:r scaledGreen:g scaledBlue:b |
423 ^ Color scaledRed:r scaledGreen:g scaledBlue:b |
424 ]. |
424 ]. |
425 |
425 |
426 "Created: 1.8.1997 / 20:01:32 / cg" |
426 "Created: 1.8.1997 / 20:01:32 / cg" |
|
427 ! |
|
428 |
|
429 container |
|
430 "return my container - for protocol compatibility" |
|
431 |
|
432 ^ nil |
427 ! |
433 ! |
428 |
434 |
429 dashStyle:aDashList offset:dashOffset |
435 dashStyle:aDashList offset:dashOffset |
430 "define dashes. Each element of the dashList specifies the length |
436 "define dashes. Each element of the dashList specifies the length |
431 of a corresponding dash. For example, setting it to [4 4] |
437 of a corresponding dash. For example, setting it to [4 4] |
3844 ! ! |
3850 ! ! |
3845 |
3851 |
3846 !DeviceGraphicsContext class methodsFor:'documentation'! |
3852 !DeviceGraphicsContext class methodsFor:'documentation'! |
3847 |
3853 |
3848 version |
3854 version |
3849 ^ '$Header: /cvs/stx/stx/libview/DeviceGraphicsContext.st,v 1.100 2004-05-11 16:43:06 stefan Exp $' |
3855 ^ '$Header: /cvs/stx/stx/libview/DeviceGraphicsContext.st,v 1.101 2004-07-12 14:04:52 cg Exp $' |
3850 ! ! |
3856 ! ! |
3851 |
3857 |
3852 DeviceGraphicsContext initialize! |
3858 DeviceGraphicsContext initialize! |