[][src]Struct mupdf_sys::fz_device

#[repr(C)]pub struct fz_device {
    pub refs: c_int,
    pub hints: c_int,
    pub flags: c_int,
    pub close_device: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device)>,
    pub drop_device: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device)>,
    pub 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)>,
    pub 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)>,
    pub 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)>,
    pub 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)>,
    pub 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)>,
    pub 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)>,
    pub 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)>,
    pub 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)>,
    pub ignore_text: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, arg3: *const fz_text, arg4: fz_matrix)>,
    pub 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)>,
    pub 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)>,
    pub 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)>,
    pub 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)>,
    pub pop_clip: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device)>,
    pub 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)>,
    pub end_mask: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device)>,
    pub 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)>,
    pub end_group: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device)>,
    pub 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>,
    pub end_tile: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device)>,
    pub render_flags: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, set: c_int, clear: c_int)>,
    pub set_default_colorspaces: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, arg3: *mut fz_default_colorspaces)>,
    pub begin_layer: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device, layer_name: *const c_char)>,
    pub end_layer: Option<unsafe extern "C" fn(arg1: *mut fz_context, arg2: *mut fz_device)>,
    pub d1_rect: fz_rect,
    pub container_len: c_int,
    pub container_cap: c_int,
    pub container: *mut fz_device_container_stack,
}

Fields

refs: c_inthints: c_intflags: c_intclose_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_rectcontainer_len: c_intcontainer_cap: c_intcontainer: *mut fz_device_container_stack

Trait Implementations

impl Clone for fz_device[src]

impl Copy for fz_device[src]

impl Debug for fz_device[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.