gflSwapColors
The gflSwapColors function allows to swap component.
GFL_ERROR gflSwapColors( GFL_BITMAP * src,
GFL_BITMAP ** dst,
GFL_SWAPCOLORS_MODE mode );
Parameters
- src
- Pointer to a GFL_BITMAP structure.
- dst
-
Address of a pointer to a GFL_BITMAP structure.
NULL if on the same instance. - mode
-
GFL_SWAPCOLORS_RBG 0 GFL_SWAPCOLORS_BGR 1 GFL_SWAPCOLORS_BRG 2 GFL_SWAPCOLORS_GRB 3 GFL_SWAPCOLORS_GBR 4
Return value
The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.