Error processing SSI file
LEADTOOLS WPF (Leadtools.Windows.D2DRendering assembly)

Show in webframe

PushClip Method






The size and position of the clipping area, in device-independent pixels.
Specifies a rectangle to which all subsequent drawing operations are clipped. until PopClip is called.
Syntax
public void PushClip( 
   Rect rect
)
'Declaration
 
Public Sub PushClip( _
   ByVal rect As Rect _
) 
'Usage
 
Dim instance As D2DSurface
Dim rect As Rect
 
instance.PushClip(rect)

            

            
public:
void PushClip( 
   Rect rect
) 

Parameters

rect
The size and position of the clipping area, in device-independent pixels.
Remarks

The clipRect is transformed by the current transform set on the surface.

After the transform is applied to the clipRect that is passed in, the axis-aligned bounding box for the clipRect is computed. For efficiency, the contents are clipped to this axis-aligned bounding box and not to the original clipRect that is passed in.

A PushClip and PopClip pair can occur around or within a PushLayer and PopLayer, but cannot overlap.

Requirements

Target Platforms

See Also

Reference

D2DSurface Class
D2DSurface Members

Error processing SSI file