SGSetChannelBounds
The SGSetChannelBounds function allows the sequence grabber component to specify your channel's display boundary rectangle.
pascal ComponentResult SGSetChannelBounds (SGChannel c,
Rect *bounds);
c
- Identifies the channel connection for this operation.
bounds
- Contains a pointer to a rectangle that defines your channel's display boundary rectangle.
DESCRIPTION
This rectangle defines the destination for data from this channel. This rectangle is defined in the graphics world that the sequence grabber component establishes by calling the SGSetGWorld function, described on page 6-37.
SPECIAL CONSIDERATIONS
The SGSetChannelBounds function adjusts the channel matrix, as appropriate.
RESULT CODES
| cantDoThatInCurrentMode | -9402 | Request invalid in current mode |
| notEnoughMemoryToGrab | -9403 | Insufficient memory for record operation |
| deviceCantMeetRequest | -9408 | Device cannot support grabber |