pub unsafe extern "C" fn OH_Drawing_PathAddPathWithMode(
path: *mut OH_Drawing_Path,
src: *const OH_Drawing_Path,
pathAddMode: OH_Drawing_PathAddMode,
)Expand description
@brief Adds a src path to the current path with the specified adding mode. 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. If pathAddMode is not set to one of the enumerated values, OH_DRAWING_ERROR_PARAMETER_OUT_OF_RANGE 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 pathAddMode {@link OH_Drawing_PathAddMode} object. @since 12 @version 1.0