![]() |
![]() |
---|---|
USB 2.0 GigE |
- |
Syntax
INT is_SetKeyColor (HIDS hCam, INT r, INT g, INT b)
Description
This function is obsolete and should not be used anymore. We recommend to use the is_DirectRenderer() function instead. |
Using is_SetKeyColor(), you define the key color for DirectDraw Overlay Surface mode.
This function can also be used to return the key color. Use the r parameter to specify the color value to be returned. Depending on the call type, the function returns either a value reflecting the color content (0...255) or the corresponding RGB value (0 ... 16777215).
Input parameters
hCam |
Camera handle |
r |
Red content of the key color (0...255). |
IS_GET_KC_RED |
The function returns the red content value. |
IS_GET_KC_GREEN |
The function returns the green content value. |
IS_GET_KC_BLUE |
The function returns the blue content value. |
IS_GET_KC_RGB |
The function returns the RGB color. |
g |
Green content of the key color (0...255). |
b |
Blue content of the key color (0...255). |
Return values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
When used with |
Color value |
Related functions
•is_SetDisplayMode()
•is_SetColorMode()