IDynamicRenderer::put_ClipRectangle method (rtscom.h)
Gets or sets the clipping rectangle for the DynamicRenderer Class object.
This property is read/write.
Syntax
HRESULT put_ClipRectangle(
const RECT *prcClipRect
);
Parameters
prcClipRect
Return value
None
Remarks
The ClipRectangle property is set immediately and applies to the stroke that is being drawn. It differs from the IDynamicRenderer::DrawingAttributes Property property, which applies to the next stroke drawn. This allows the clip rectangle to grow as the stroke is drawn.
When calling the IDynamicRenderer::Refresh Method from within a Paint event handler, set the IDynamicRenderer::ClipRectangle Property to the Paint event's rectangle.
Note If the ClipRectangle is expanded in mid-stroke, then a IDynamicRenderer::Refresh Method call is required in order to display the new ink. This refresh call must be made every time new ink appears in a new area; however, doing so may cause performance problems when inking in the new area.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | rtscom.h |
DLL | RTSCom.dll |