gflDrawPointColor

GFL SDK

gflDrawPointColor

The gflDrawPointColor function allows to draw a point on a picture.

GFL_ERROR gflDrawPointColor(
  GFL_BITMAP * src,  

GFL_INT32 x,
GFL_INT32 y,
GFL_UINT32 line_width,
const GFL_COLOR * line_color,
GFL_BITMAP ** dst, );

Parameters

    src
    Pointer to a GFL_BITMAP structure.
    x
    X position.
    y
    Y position.
    line_width
    Width of the point (1 à 13).
    line_color
    Pointer to a GFL_COLOR structure. Color of the point.
    dst
    Address of a pointer to a GFL_BITMAP structure.
    NULL if on the same instance.

Return value

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

See also