2 Getting Viewer Information

2 Q3ViewerGetDimension

You can use the Q3ViewerGetDimension function to get the current dimensions of the model space in a viewer's view hints object.

OSErr Q3ViewerGetDimension (
TQ3ViewerObject theViewer, 
unsigned long *width, 
unsigned long *height);
theViewer A viewer object.
width On exit, the width of the pane of the specified viewer.
height On exit, the height of the pane of the specified viewer.

DESCRIPTION


The Q3ViewerGetDimension function returns, in the width and height parameters, the current width and height of the model space in the view hints object associated with the viewer object specified by the theViewer parameter. If there is no such view hints object, Q3ViewerGetDimension returns the width and height of the viewer pane.

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