pub unsafe extern "C" fn OH_Drawing_PathCubicTo(
path: *mut OH_Drawing_Path,
ctrlX1: f32,
ctrlY1: f32,
ctrlX2: f32,
ctrlY2: f32,
endX: f32,
endY: f32,
)Expand description
@brief Draws a cubic Bezier curve 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 ctrlX1 X coordinate of the first control point. @param ctrlY1 Y coordinate of the first control point. @param ctrlX2 X coordinate of the second control point. @param ctrlY2 Y coordinate of the second control point. @param endX X coordinate of the target point. @param endY Y coordinate of the target point. @since 8 @version 1.0