Gets the fill color used to redact match results.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_redactor_fillcolor_get( const HIG_REC_REDACTOR higRecRedactor, AT_RGBQUAD* const lpColor, AT_INT* const pnDataSize ); |
Name | Type | Description |
---|---|---|
higRecRedactor | const HIG_REC_REDACTOR | The handle to a redactor instance. |
lpColor | AT_RGBQUAD* const | Pointer to storage for the fill color value. |
pnDataSize | AT_INT* const |
Pointer to the variable that on input contains size of buffer specified by lpColor parameter. On output it contains number of bytes copied to lpColor buffer:
|
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT errCount = 0 ; HIG_REC_REDACTOR higRedactor = 0 ; AT_RGBQUAD fill_color = {0} ; AT_INT bytes_written = 0 ; IG_REC_redactor_create( &higRedactor ) ; errCount = IG_REC_redactor_fillcolor_get ( higRedactor, &fill_color, &bytes_written ) ; IG_REC_redactor_delete( higRedactor ) ; |
This color is used when filling areas of the source image.
The default value is NULL.
If fill color is not specified, then the redactor will default to black, rgb(0,0,0), when drawing rectangles onto the redacted image.