SGGetChannelBounds
TheSGGetChannelBoundsfunction allows you to determine a channel's display boundary rectangle.
pascal ComponentResult SGGetChannelBounds (SGChannel c, Rect *bounds);
c- Specifies the reference that identifies the channel for this operation. You obtain this reference from the
SGNewChannelfunction, described on page 5-29.bounds- Contains a pointer to a rectangle structure that is to receive information about the channel's display boundary rectangle. This rectangle is defined in the graphics world that you establish when you call the
SGSetGWorldfunction.DESCRIPTION
You set the boundary rectangle by calling theSGSetChannelBoundsfunction, which is described in the previous section. This rectangle is defined in the graphics world that you establish by calling theSGSetGWorldfunction, described on page 5-27.