Skip to main content

OH_Drawing_PointCreate

Function OH_Drawing_PointCreate 

Source
pub unsafe extern "C" fn OH_Drawing_PointCreate(
    x: f32,
    y: f32,
) -> *mut OH_Drawing_Point
Expand description

@brief Creates an OH_Drawing_Point object.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param x Indicates the x-axis coordinates of the point. @param y Indicates the y-axis coordinates of the point. @return Returns the pointer to the OH_Drawing_Point object created. @since 11 @version 1.0