Skip to main content

OH_Drawing_PathMoveTo

Function OH_Drawing_PathMoveTo 

Source
pub unsafe extern "C" fn OH_Drawing_PathMoveTo(
    path: *mut OH_Drawing_Path,
    x: f32,
    y: f32,
)
Expand description

@brief Sets the start point of this path. 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 an OH_Drawing_Path object. @param x X coordinate of the start point. @param y Y coordinate of the start point. @since 8 @version 1.0