pub unsafe extern "C" fn screen_draw_line(
x0: i16,
y0: i16,
x1: i16,
y1: i16,
) -> u32Expand description
Draw a line on the screen using the current pen color
This function uses the following values of errno when an error state is reached: EACCESS - Another resource is currently trying to access the screen mutex.
\param x0, y0 The (x, y) coordinates of the first point of the line \param x1, y1 The (x, y) coordinates of the second point of the line
\return 1 if there were no errors, or PROS_ERR if an error occured taking or returning the screen mutex.