Struct mupdf_sys::fz_path_walker[][src]

#[repr(C)]
pub struct fz_path_walker { pub moveto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x: f32, y: f32)>, pub lineto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x: f32, y: f32)>, pub curveto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x2: f32, y2: f32, x3: f32, y3: f32)>, pub closepath: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void)>, pub quadto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x2: f32, y2: f32)>, pub curvetov: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x2: f32, y2: f32, x3: f32, y3: f32)>, pub curvetoy: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x3: f32, y3: f32)>, pub rectto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x2: f32, y2: f32)>, }

Fields

moveto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x: f32, y: f32)>lineto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x: f32, y: f32)>curveto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x2: f32, y2: f32, x3: f32, y3: f32)>closepath: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void)>quadto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x2: f32, y2: f32)>curvetov: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x2: f32, y2: f32, x3: f32, y3: f32)>curvetoy: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x3: f32, y3: f32)>rectto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x2: f32, y2: f32)>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.