GraphicsMedium.st
changeset 7469 9bdf9516a7bf
parent 7467 b28e8bfab43d
child 7485 24a3795170f1
equal deleted inserted replaced
7468:6cc4f99397af 7469:9bdf9516a7bf
   761     ].
   761     ].
   762 
   762 
   763     gc device:aDevice
   763     gc device:aDevice
   764 !
   764 !
   765 
   765 
       
   766 deviceClippingBounds:aRectangleOrNil
       
   767     "set the clipping rectangle for drawing (in device coordinates);
       
   768      a nil argument turns off clipping (i.e. whole view is drawable - incl. margins)"
       
   769 
       
   770     gc deviceClippingBounds:aRectangleOrNil
       
   771 !
       
   772 
       
   773 deviceClippingBoundsOrNil
       
   774     "return the clipping rectangle as physical coordinated for drawing, nil if there is none."
       
   775 
       
   776     ^ gc deviceClippingBoundsOrNil
       
   777 !
       
   778 
   766 deviceClippingRectangle:aRectangleOrNil
   779 deviceClippingRectangle:aRectangleOrNil
       
   780     <resource: #obsolete>
   767     "set the clipping rectangle for drawing (in device coordinates);
   781     "set the clipping rectangle for drawing (in device coordinates);
   768      a nil argument turns off clipping (i.e. whole view is drawable - incl. margins)"
   782      a nil argument turns off clipping (i.e. whole view is drawable - incl. margins)"
   769 
   783 
   770     gc deviceClippingBounds:aRectangleOrNil
   784     gc deviceClippingBounds:aRectangleOrNil
   771 !
   785 !