pub unsafe extern "C" fn OH_Drawing_PathAddOvalWithInitialPoint(
path: *mut OH_Drawing_Path,
rect: *const OH_Drawing_Rect,
start: u32,
pathDirection: OH_Drawing_PathDirection,
)Expand description
@brief Adds an oval to a path. OH_Drawing_Rect specifies the outer tangent rectangle of the oval, and ** OH_Drawing_PathDirection** specifies whether the drawing is clockwise or counterclockwise. This API may return an error code. For details, call {@link OH_Drawing_ErrorCodeGet}. If either path or rect is NULL, OH_DRAWING_ERROR_INVALID_PARAMETER is returned. If pathDirection is not set to one of the enumerated values, OH_DRAWING_ERROR_PARAMETER_OUT_OF_RANGE is returned.
@param path Pointer to the {@link OH_Drawing_Path} object. @param rect Pointer to the {@link OH_Drawing_Rect} object. @param start Start point of the oval. @param pathDirection {@link OH_Drawing_PathDirection} object. @since 12 @version 1.0