Get the current color in RGB-coding.
::get_rgb returns the output colors or grayvalues, respectively, for the output window. They are defined by the three color components red, green and blue.
::get_rgb is like ::get_pixel but returns the entries of the color lookup table rather than the indices. The values returned by ::get_rgb can be set with ::set_rgb.
|
WindowHandle (input_control) |
window -> HTuple.long |
| Window_id. | |
|
Red (output_control) |
integer-array -> HTuple.long * |
| The current color's red value. | |
|
Green (output_control) |
integer-array -> HTuple.long * |
| The current color's green value. | |
|
Blue (output_control) |
integer-array -> HTuple.long * |
| The current color's blue value. | |
::get_rgb returns H_MSG_TRUE if the window is valid. Otherwise an exception handling is raised.
::set_rgb, ::disp_region, ::disp_image
System