gflGetColorAt

GFL SDK

gflGetColorAt

The gflGetColorAt function gets the color at a position of the picture.

GFL_ERROR gflGetColorAt(
  GFL_BITMAP * src,  

GFL_INT32 x,
GFL_INT32 y,
GFL_COLOR * color );

Parameters

    src
    Pointer to a GFL_BITMAP structure.
    x
    X position.
    y
    Y position.
    color
    Pointer to a GFL_COLOR structure to obtain the result.

Return value

    The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.

See also