[−][src]Struct mupdf_sys::fz_device
Fields
refs: c_int
hints: c_int
flags: c_int
close_device: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device)>
drop_device: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device)>
fill_path: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, arg3: *const fz_path, even_odd: c_int, arg4: fz_matrix, arg5: *mut fz_colorspace, color: *const f32, alpha: f32, arg6: fz_color_params)>
stroke_path: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, arg3: *const fz_path, arg4: *const fz_stroke_state, arg5: fz_matrix, arg6: *mut fz_colorspace, color: *const f32, alpha: f32, arg7: fz_color_params)>
clip_path: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, arg3: *const fz_path, even_odd: c_int, arg4: fz_matrix, scissor: fz_rect)>
clip_stroke_path: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, arg3: *const fz_path, arg4: *const fz_stroke_state, arg5: fz_matrix, scissor: fz_rect)>
fill_text: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, arg3: *const fz_text, arg4: fz_matrix, arg5: *mut fz_colorspace, color: *const f32, alpha: f32, arg6: fz_color_params)>
stroke_text: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, arg3: *const fz_text, arg4: *const fz_stroke_state, arg5: fz_matrix, arg6: *mut fz_colorspace, color: *const f32, alpha: f32, arg7: fz_color_params)>
clip_text: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, arg3: *const fz_text, arg4: fz_matrix, scissor: fz_rect)>
clip_stroke_text: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, arg3: *const fz_text, arg4: *const fz_stroke_state, arg5: fz_matrix, scissor: fz_rect)>
ignore_text: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, arg3: *const fz_text, arg4: fz_matrix)>
fill_shade: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, shd: *mut fz_shade, ctm: fz_matrix, alpha: f32, color_params: fz_color_params)>
fill_image: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, img: *mut fz_image, ctm: fz_matrix, alpha: f32, color_params: fz_color_params)>
fill_image_mask: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, img: *mut fz_image, ctm: fz_matrix, arg3: *mut fz_colorspace, color: *const f32, alpha: f32, color_params: fz_color_params)>
clip_image_mask: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, img: *mut fz_image, ctm: fz_matrix, scissor: fz_rect)>
pop_clip: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device)>
begin_mask: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, area: fz_rect, luminosity: c_int, arg3: *mut fz_colorspace, bc: *const f32, arg4: fz_color_params)>
end_mask: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device)>
begin_group: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, area: fz_rect, cs: *mut fz_colorspace, isolated: c_int, knockout: c_int, blendmode: c_int, alpha: f32)>
end_group: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device)>
begin_tile: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, area: fz_rect, view: fz_rect, xstep: f32, ystep: f32, ctm: fz_matrix, id: c_int) -> c_int>
end_tile: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device)>
render_flags: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, set: c_int, clear: c_int)>
set_default_colorspaces: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, arg3: *mut fz_default_colorspaces)>
begin_layer: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, layer_name: *const c_char)>
end_layer: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device)>
d1_rect: fz_rect
container_len: c_int
container_cap: c_int
container: *mut fz_device_container_stack
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for fz_device
[src]
impl !Send for fz_device
[src]
impl !Sync for fz_device
[src]
impl Unpin for fz_device
[src]
impl UnwindSafe for fz_device
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,