Skip to main content

OH_Drawing_PathConicTo

Function OH_Drawing_PathConicTo 

Source
pub unsafe extern "C" fn OH_Drawing_PathConicTo(
    path: *mut OH_Drawing_Path,
    ctrlX: f32,
    ctrlY: f32,
    endX: f32,
    endY: f32,
    weight: f32,
)
Expand description

@brief Draws a conic 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 ctrlX Indicates the x coordinate of the control point. @param ctrlY Indicates the y coordinate of the control point. @param endX Indicates the x coordinate of the target point. @param endY Indicates the y coordinate of the target point. @param weight Indicates the weight of added conic. @since 12 @version 1.0