pub unsafe extern "C" fn OH_Drawing_PathAddPath(
path: *mut OH_Drawing_Path,
src: *const OH_Drawing_Path,
matrix: *const OH_Drawing_Matrix,
)Expand description
@brief Transforms the points in a src path by a matrix and adds the new one to the current path. This API may return an error code. For details, call {@link OH_Drawing_ErrorCodeGet}. If either path or src is NULL, OH_DRAWING_ERROR_INVALID_PARAMETER is returned.
@param path Pointer to the existing {@link OH_Drawing_Path} object. @param src Pointer to the source {@link OH_Drawing_Path} object. @param matrix Pointer to the {@link OH_Drawing_Matrix} object. A null pointer means an identity matrix. @since 12 @version 1.0