[][src]Function mupdf_sys::fz_moveto

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

Append a 'moveto' command to a path. This 'opens' a path.

path: The path to modify.

x, y: The coordinate to move to.

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