2 Getting Viewer Information
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.
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.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker