Skip to main content

OH_DecodingOptions_GetRotate

Function OH_DecodingOptions_GetRotate 

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

@brief Get rotate number for OH_DecodingOptions struct.

@param options The OH_DecodingOptions pointer will be operated. @param rotate the number of image rotate. @return Returns one of the following result codes: {@link IMAGE_SUCCESS} if the execution is successful. {@link IMAGE_BAD_PARAMETER} options is nullptr, or rotate is nullptr. @since 12