COLORREPLACE
typedef struct _COLORREPLACE
{
L_UINT uStructSize;
COLORREF crColor;
L_UINT uFuzziness;
} COLORREPLACE, L_FAR * LPCOLORREPLACE;
The COLORREPLACE structure provides information about the replacement color for the L_ColorReplaceBitmap function.
Member |
Description |
uStructSize |
Must contain the size of COLORREPLACE structure. Should be set to sizeof(COLORREPLACE). |
crColor |
The COLORREF value that specifies replaced colored value. |
|
You can specify a COLORREF value, such as the return value of the Windows RGB macro, or you can use the PALETTEINDEX macro to specify a palette color. |
uFuzziness |
Value to be used in designating the + or - range of the color being replaced. This must be a nonzero value. |