DeviceGraphicsContext.st
changeset 4389 a1ddea4bf248
parent 4291 85475200669d
child 4403 3342601d3fed
equal deleted inserted replaced
4388:39bcaddc2e22 4389:a1ddea4bf248
   399                 w := w truncated + 1
   399                 w := w truncated + 1
   400             ].
   400             ].
   401             (h class == SmallInteger) ifFalse:[
   401             (h class == SmallInteger) ifFalse:[
   402                 h := h truncated + 1
   402                 h := h truncated + 1
   403             ].
   403             ].
   404 
   404             w := w max:0.
       
   405             h := h max:0.
   405             device setClipX:x y:y width:w height:h in:drawableId gc:gcId.
   406             device setClipX:x y:y width:w height:h in:drawableId gc:gcId.
   406             r := Rectangle left:x top:y width:w height:h
   407             r := Rectangle left:x top:y width:w height:h
   407         ]
   408         ]
   408     ].
   409     ].
   409     clipRect := r
   410     clipRect := r
  3858 ! !
  3859 ! !
  3859 
  3860 
  3860 !DeviceGraphicsContext class methodsFor:'documentation'!
  3861 !DeviceGraphicsContext class methodsFor:'documentation'!
  3861 
  3862 
  3862 version
  3863 version
  3863     ^ '$Header: /cvs/stx/stx/libview/DeviceGraphicsContext.st,v 1.103 2004-09-27 14:08:22 stefan Exp $'
  3864     ^ '$Header: /cvs/stx/stx/libview/DeviceGraphicsContext.st,v 1.104 2005-06-06 17:40:21 cg Exp $'
  3864 ! !
  3865 ! !
  3865 
  3866 
  3866 DeviceGraphicsContext initialize!
  3867 DeviceGraphicsContext initialize!