pub unsafe extern "C" fn OH_Drawing_PathRMoveTo(
path: *mut OH_Drawing_Path,
x: f32,
y: f32,
)Expand description
@brief Sets the start position relative to the last point of a path. 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 the {@link OH_Drawing_Path} object. @param x X-axis offset relative to the end point of a path. A positive number indicates an offset in the positive direction of the X axis, and a negative number indicates an offset in the negative direction of the X axis. @param y Y-axis offset relative to the end point of a path. A positive number indicates an offset in the positive direction of the Y axis, and a negative number indicates an offset in the negative direction of the Y axis. @since 12 @version 1.0