This function sets the colors in the range of nStart..nEnd.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_geom_set_colors( HIG_VECT_ENTITY hEntity, unsigned char* lpColors, long nStart, long nEnd ); |
Name | Type | Description |
---|---|---|
hEntity | HIG_VECT_ENTITY | Geometry entity handle. |
lpColors | unsigned char* | Buffer with the colors to be set. |
nStart | long | Start color to be set. |
nEnd | long | End color to be set. |
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
Using this function makes sense only if bUseColors argument was set to VECT_TRUE during the geometry initialization. The color component number must correspond to the nColorAlign argument of IG_vect_geom_init().