Skip to main content

OH_Drawing_PathTransform

Function OH_Drawing_PathTransform 

Source
pub unsafe extern "C" fn OH_Drawing_PathTransform(
    path: *mut OH_Drawing_Path,
    matrix: *const OH_Drawing_Matrix,
)
Expand description

@brief Transforms the points in a path by matrix. This API may return an error code. For details, call {@link OH_Drawing_ErrorCodeGet}. If either path or matrix is NULL, OH_DRAWING_ERROR_INVALID_PARAMETER is returned.

@param path Pointer to the {@link OH_Drawing_Path} object. @param matrix Pointer to the {@link OH_Drawing_Matrix} object. @since 12 @version 1.0