This function flushes the vector data to DIB.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_vector_data_to_dib( HIGEAR hIGearSource, LPHIGEAR lphIGearDest ); |
Arguments:
hIGearSource | Source image handle. |
lphIGearDest | New image - non-zero pointer to HIGEAR that takes a raster HIGEAR. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
Supported Raster Image Formats:
Indexed RGB – 8bpp;
RGB – 24 bpp.
Sample:
Vector
Example:
Copy Code | |
---|---|
HIGEAR rasterhigear; IG_vector_data_to_dib(hIGear, &rasterhigear); IG_image_delete(hIGear); hIGear = rasterhigear; |
Remarks:
The second parameter must be a non-zero pointer to HIGEAR that takes a raster HIGEAR. The source HIGEAR should be deleted manually.