2 Getting Viewer Information
Q3ViewerGetButtonRect
function to get the rectangle that encloses a viewer button.
OSErr Q3ViewerGetButtonRect ( TQ3ViewerObject theViewer, unsigned long button, Rect *rect);theViewer
A viewer object.button
A button.rect
On exit, the rectangle that enclosed the specified button in the specified viewer.
Q3ViewerGetButtonRect
function returns, in the rect
parameter, the rectangle that encloses the button specified by the button
parameter in the viewer object specified by the theViewer
parameter. You can use these constants to specify the button whose rectangle you want returned:
kQ3ViewerButtonCamera kQ3ViewerButtonTruck kQ3ViewerButtonOrbit kQ3ViewerButtonZoom kQ3ViewerButtonDolly
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker