IG_vect_drwng_get_graphics
The function returns the type of graphics used for displaying vector objects.
Declaration:
|
Copy Code
|
AT_ERRCOUNT ACCUAPI IG_vect_drwng_get_graphics(
HIG_VECT_DRWNG hDrwng,
enumIGVectGraphics* lpGraphics
);
|
Arguments:
Name |
Type |
Description |
hDrwng |
HIG_VECT_DRWNG |
Handle to the Drawing. |
lpGraphics |
enumIGVectGraphics* |
Buffer for the graphics type. |
Return Value:
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
This function does not process image pixels.
Sample:
None
Remarks:
The following graphics types are available:
- IG_VECT_GRAPH_OPENGL - OpenGL graphics type is used.
- IG_VECT_GRAPH_DIRECT3D - Direct3D graphics type is used.
- IG_VECT_GRAPH_AUTO - The type of graphics (OpenGL or Direct3D) is defined according to the device context features.