2 Creating and Configuring Viewers

2 Q3ViewerSetBounds

You can use the Q3ViewerSetBounds function to set the rectangle that bounds a viewer's pane.

OSErr Q3ViewerSetBounds (
TQ3ViewerObject theViewer, 
Rect *bounds);
theViewer A viewer object.
bounds The desired viewer pane for the specified viewer object. This rectangle is specified in window coordinates, where the origin (0, 0) is the upper-left corner of the window and values increase to the right and down the window.

DESCRIPTION


The Q3ViewerSetBounds function sets the bounds of the viewer pane of the viewer object specified by the theViewer parameter to the rectangle specified by the bounds parameter.

Any changes to a viewer's bounds will not be visible until you call Q3ViewerDraw with the specified viewer object.<8bat>s

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