pub unsafe extern "C" fn OH_Drawing_PathCopy(
path: *mut OH_Drawing_Path,
) -> *mut OH_Drawing_PathExpand description
@brief Creates a copy of the {@link OH_Drawing_Path} object. This API may return an error code. For details, call {@link OH_Drawing_ErrorCodeGet}. If path is NULL, OH_DRAWING_ERROR_INVALID_PARAMETER is returned.
@param path Pointer to the {@link OH_Drawing_Path} object. @return Pointer to the copy of the {@link OH_Drawing_Path} object. @since 12 @version 1.0