2 Getting Viewer Information

2 Q3ViewerGetButtonRect

You can use the 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.

DESCRIPTION


The 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
DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 16 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker