pub unsafe extern "C" fn OH_Drawing_PathLineTo(
path: *mut OH_Drawing_Path,
x: f32,
y: f32,
)Expand description
@brief Draws a line segment from the last point of this path to the target point. If the path is empty, the start point (0, 0) is used. 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 target point. @param y Y coordinate of the target point. @since 8 @version 1.0