This function retrieves the type of graphics that will be used for displaying the view content.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_drwng_get_actual_graphics( HIG_VECT_DRWNG hDrwng, AT_UINT hContext, enumIGVectGraphics* lpGraphics ); |
Name | Type | Description |
---|---|---|
hDrwng | HIG_VECT_DRWNG | Handle to the drawing. |
hContext | AT_UINT | Device context which will be used for displaying. In case of Windows OS, this is an HDC. |
lpGraphics | enumIGVectGraphics* | Pointer to a variable which will receive the graphics type. See Remarks. |
This function does not process image pixels.
Vector
Currently supported graphics types are: OpenGL and Direct3D.
If the graphics type has been set to IG_VECT_GRAPH_AUTO (see IG_vect_drwng_set_graphics), then the actual graphics will be set automatically to OpenGL or Direct3D, depending on the capabilities of the operation system.