equal
deleted
inserted
replaced
258 ! |
258 ! |
259 |
259 |
260 clipByChildren |
260 clipByChildren |
261 "drawing shall be done into my view only (default)" |
261 "drawing shall be done into my view only (default)" |
262 |
262 |
|
263 self obsoleteMethodWarning:'use #clippedByChildren:true'. |
263 ^ self clippedByChildren:true |
264 ^ self clippedByChildren:true |
264 |
265 |
265 "Created: 17.7.1996 / 13:25:55 / cg" |
266 "Created: 17.7.1996 / 13:25:55 / cg" |
266 ! |
267 ! |
267 |
268 |
293 gcId isNil ifTrue:[ |
294 gcId isNil ifTrue:[ |
294 self initGC |
295 self initGC |
295 ]. |
296 ]. |
296 device noClipIn:drawableId gc:gcId. |
297 device noClipIn:drawableId gc:gcId. |
297 device setClipByChildren:aBoolean in:drawableId gc:gcId. |
298 device setClipByChildren:aBoolean in:drawableId gc:gcId. |
298 device noClipIn:drawableId gc:gcId. |
299 "/ device noClipIn:drawableId gc:gcId. |
|
300 |
299 "/ |
301 "/ |
300 "/ device setClipX:0 y:0 width:(self width) height:(self height) in:drawableId gc:gcId. |
302 "/ device setClipX:0 y:0 width:(self width) height:(self height) in:drawableId gc:gcId. |
301 "/ |
303 "/ |
302 |
304 |
303 "Created: 17.7.1996 / 13:25:16 / cg" |
305 "Created: 17.7.1996 / 13:25:16 / cg" |
529 ! |
531 ! |
530 |
532 |
531 noClipByChildren |
533 noClipByChildren |
532 "drawing shall also be done into subviews" |
534 "drawing shall also be done into subviews" |
533 |
535 |
|
536 self obsoleteMethodWarning:'use #clippedByChildren:false'. |
534 ^ self clippedByChildren:false |
537 ^ self clippedByChildren:false |
535 |
538 |
536 "Created: 17.7.1996 / 14:15:54 / cg" |
539 "Created: 17.7.1996 / 14:15:54 / cg" |
537 ! |
540 ! |
538 |
541 |
3689 ! ! |
3692 ! ! |
3690 |
3693 |
3691 !DeviceGraphicsContext class methodsFor:'documentation'! |
3694 !DeviceGraphicsContext class methodsFor:'documentation'! |
3692 |
3695 |
3693 version |
3696 version |
3694 ^ '$Header: /cvs/stx/stx/libview/Attic/DevGC.st,v 1.43 1997-05-06 14:34:47 cg Exp $' |
3697 ^ '$Header: /cvs/stx/stx/libview/Attic/DevGC.st,v 1.44 1997-05-07 18:48:20 cg Exp $' |
3695 ! ! |
3698 ! ! |
3696 DeviceGraphicsContext initialize! |
3699 DeviceGraphicsContext initialize! |