Skip to main content

OH_DecodingOptions_SetRotate

Function OH_DecodingOptions_SetRotate 

Source
pub unsafe extern "C" fn OH_DecodingOptions_SetRotate(
    options: *mut OH_DecodingOptions,
    rotate: f32,
) -> Image_ErrorCode
Expand description

@brief Sets the rotation angle.

@param options Pointer to an OH_DecodingOptions object. @param rotate Angle to rotate, in degrees. @return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} options is nullptr. @since 12