gflCrop

GFL SDK

gflCrop

The gflCrop function crop a picture.

GFL_ERROR gflCrop(
  GFL_BITMAP * src,  

GFL_BITMAP ** dst,
const GFL_RECT * rect );

Parameters

    src
    Pointer to a GFL_BITMAP structure.
    dst
    Address of a pointer to a GFL_BITMAP structure.
    NULL if on the same instance.
    rect
    Crop rectangle.

Return value

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

See also