gflRotate
The gflRotate function applies a rotation on a picture.
GFL_ERROR gflRotate( GFL_BITMAP * src,
GFL_BITMAP ** dst,
GFL_INT32 angle, const GFL_COLOR * color );
Parameters
- src
- Pointer to a GFL_BITMAP structure.
- dst
-
Address of a pointer to a GFL_BITMAP structure.
NULL if on the same instance. - angle
- Angle of rotation in degrees.
- color
-
Pointer to a GFL_COLOR structure used to set the background color.
Can be NULL, the background color is (0,0,0).
Return value
The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.
See also