Function mupdf_sys::fz_quadto [−][src]
pub unsafe extern "C" fn fz_quadto(
ctx: *mut fz_context,
path: *mut fz_path,
x0: f32,
y0: f32,
x1: f32,
y1: f32
)
Append a ‘quadto’ command to an open path. (For a quadratic bezier).
path: The path to modify.
x0, y0: The control coordinates for the quadratic curve.
x1, y1: The end coordinates for the quadratic curve.
Throws exceptions on failure to allocate, or attempting to modify a packed path.