This function initializes the raster entity with the new width and height and allocates memory for the color data.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_raster_init( HIG_VECT_ENTITY hEntity, long nWidth, long nHeight ); |
Name | Type | Description |
---|---|---|
hEntity | HIG_VECT_ENTITY | Raster entity handle. |
nWidth | long | New raster width. |
nHeight | long | New raster height. |
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
None