IRenderingContextPushClip Method

Push the clip state then assign a new clip rect. Typically you will hold the clip state in a Stack of Rects, pusshing and popping as PushClip and PopClip are called. To determine the new rect simply intersect the Rect on the top of the stack with the one supplied in PushClip. When drawing you need to ensure that any drawing you do is clipped to the Rect at the top of the stack - if any.

 

Namespace:  WebSupergoo.WordGlue4.Rendering
Assembly:  WordGlue4 (in WordGlue4.dll) Version: 4.1.0.0 (4.1.0.0)
Syntax
void PushClip(
        Rect rect
)

Parameters

rect
Type: WebSupergoo.WordGlue4Rect
The clip rectangle to be applied to the current graphics state.
See Also