[][src]Function mupdf_sys::fz_lineto

pub unsafe extern "C" fn fz_lineto(
    ctx: *mut fz_context,
    path: *mut fz_path,
    x: f32,
    y: f32
)

Append a 'lineto' command to an open path.

path: The path to modify.

x, y: The coordinate to line to.

Throws exceptions on failure to allocate, or attempting to modify a packed path.