gflSetColorAt

GFL SDK

gflSetColorAt

The gflSetColorAt function allows to set a color at a position of the picture.

GFL_ERROR gflSetColorAt(
  GFL_BITMAP * src,  
  GFL_INT32 x,  
  GFL_INT32 y,  
  const GFL_COLOR * color
);

Parameters

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

Return value

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

See also