QADeviceGetFirstEngine
You can use theQADeviceGetFirstEnginefunction to get the first drawing engine that can draw to a particular device.
TQAEngine *QADeviceGetFirstEngine (const TQADevice *device);
device- A device, or the value
NULL.DESCRIPTION
TheQADeviceGetFirstEnginefunction returns, as its function result, the first drawing engine that is capable of drawing into the device specified by thedeviceparameter. The first engine is defined to be the first engine that satisfies one of these criteria:
If you pass the value
- The drawing engine selected by the user (for example, using the RAVE control panel).
- The drawing engine that is tightly coupled to the specified device (that is, that can render only to that device).
- The drawing engine that accelerates more features than any other drawing engine.
NULLin thedeviceparameter,QADeviceGetFirstEnginereturns a drawing engine without regard for its ability to drive any particular device. You can use this technique to find all available engines.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help