wb_get_pixel

int wb_get_pixel (int source, int xpos, int ypos)

Returns the RGB color value of the pixel at the given coordinates. The first parameter, source, may be a WinBinder object, a window handle, a drawing surface or a bitmap.

Returns NOCOLOR if an error occurs.

See also

wb_draw_point
Drawing functions