gflMerge

GFL SDK

gflMerge

The gflMerge function allows to merge a list of picture.

GFL_ERROR gflMerge(
  const GFL_BITMAP * src[],  
  const GFL_POINT origin[],  
  const GFL_UINT32 opacity[],  
  GFL_INT32  num_bitmap,  
  GFL_BITMAP ** dst
);

Parameters

    src
    Address of an array of pointer to GFL_BITMAP structure.
    origin
    Address of an array of GFL_POINT structure, origin to insert for each picture.
    If NULL, origin used is (0,0).
    opacity
    Address of an array of opacity, for each picture.
    num_bitmap
    Number of picture to merge.
    dst
    Address of a pointer to a GFL_BITMAP structure.

Remark

    gflMerge works only in 24 or 32bits.

Return value

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