pub unsafe extern "C" fn OH_Drawing_PointSet(
point: *mut OH_Drawing_Point,
x: f32,
y: f32,
) -> OH_Drawing_ErrorCodeExpand description
@brief Sets the x-axis and y-axis coordinates of the point.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param point Indicates the pointer to an OH_Drawing_Point object. @param x Indicates the x-axis coordinate of the point. @param y Indicates the y-axis coordinate of the point. @return Returns the error code. Returns {@link OH_DRAWING_SUCCESS} if the operation is successful. Returns {@link OH_DRAWING_ERROR_INVALID_PARAMETER} if point is nullptr. @since 12 @version 1.0