[−][src]Function mupdf_sys::fz_curveto
pub unsafe extern "C" fn fz_curveto(
ctx: *mut fz_context,
path: *mut fz_path,
x0: f32,
y0: f32,
x1: f32,
y1: f32,
x2: f32,
y2: f32
)
Append a 'curveto' command to an open path. (For a cubic bezier).
path: The path to modify.
x0, y0: The coordinates of the first control point for the curve.
x1, y1: The coordinates of the second control point for the curve.
x2, y2: The end coordinates for the curve.
Throws exceptions on failure to allocate, or attempting to modify a packed path.