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 a path to the target point.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param path Indicates the pointer to an OH_Drawing_Path object. @param ctrlX1 Indicates the x coordinate of the first control point. @param ctrlY1 Indicates the y coordinate of the first control point. @param ctrlX2 Indicates the x coordinate of the second control point. @param ctrlY2 Indicates the y coordinate of the second control point. @param endX Indicates the x coordinate of the target point. @param endY Indicates the y coordinate of the target point. @since 8 @version 1.0