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 and Y coordinates of a point.
@param point Pointer to an {@link OH_Drawing_Point} object. @param x Pointer to the X coordinate. @param y Pointer to the Y coordinate. @return Returns one of the following result codes: OH_DRAWING_SUCCESS if the operation is successful. OH_DRAWING_ERROR_INVALID_PARAMETER if point is NULL. @since 12 @version 1.0