QADrawContextNew
You can use theQADrawContextNewfunction to create a new draw context.
TQAError QADrawContextNew ( const TQADevice *device, const TQARect *rect, const TQAClip *clip, const TQAEngine *engine, unsigned long flags, TQADrawContext **newDrawContext);
device- A device.
rect- The rectangular region (specified in device coordinates) of the specified device that can be drawn into by the drawing engine associated with the new draw context.
clip- The two-dimensional clipping region for the new draw context, or
NULLif no clipping is desired. This parameter must be set toNULLfor devices of typekQADeviceMemory.engine- A drawing engine.
flags- A set of bit flags specifying features of the new draw context. See "Draw Context Flags Masks" (page 1-65) for complete information.
newDrawContext- On entry, the address of a pointer variable. On exit, that variable points to a new draw context. If a new draw context cannot be created,
*newDrawContextis set to the valueNULL.DESCRIPTION
TheQADrawContextNewfunction returns, through thenewDrawContextparameter, a new draw context associated with the device specified by thedeviceparameter and the drawing engine specified by theengineparameter.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help