Q3ViewerNew
You can use theQ3ViewerNewfunction to create a new viewer object.
TQ3ViewerObject Q3ViewerNew ( CGrafPtr port, Rect *rect, unsigned long flags);
port- A pointer to a color graphics port that specifies the window with which the new viewer is to be associated.
rect- The desired viewer pane for the new 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.
flags- A set of viewer flags.
DESCRIPTION
TheQ3ViewerNewfunction returns, as its function result, a reference to a new viewer object that is to be drawn in the window specified by theportparameter, in the location specified by therectparameter. Theflagsparameter specifies the desired set of viewer flags. See "Viewer Flags" on page 2-12 for information on the flags you can specify when callingQ3ViewerNew.The
Q3ViewerNewfunction calls the QuickDraw 3D functionQ3Initializeif your application has not already called it.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help