VDSetClipRgn
The VDSetClipRgn function allows your application to define a clipping region.
pascal VideoDigitizerError VDSetClipRgn
(VideoDigitizerComponent ci,
RgnHandle clipRegion);
ci
- Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's
OpenComponent function.
clipRegion
- Specifies the clipping region.
DESCRIPTION
When clipping is enabled, the video digitizer component performs clipping in the region specified with this function.
RESULT CODES
| noErr | 0 | No error |
| digiUnimpErr | -2201 | Function not supported |
SEE ALSO
Applications can disable all or part of a clipping region by calling the VDClearClipRgn function, described in the next section.