Skip to main content

OH_Drawing_CanvasDrawPath

Function OH_Drawing_CanvasDrawPath 

Source
pub unsafe extern "C" fn OH_Drawing_CanvasDrawPath(
    canvas: *mut OH_Drawing_Canvas,
    path: *const OH_Drawing_Path,
)
Expand description

@brief Draws a path. This API may return an error code. For details, call {@link OH_Drawing_ErrorCodeGet}. If either canvas or path is NULL, OH_DRAWING_ERROR_INVALID_PARAMETER is returned.

@param canvas Pointer to an OH_Drawing_Canvas object. @param path Pointer to an OH_Drawing_Path object. @since 8 @version 1.0