[][src]Struct mupdf::device::Device

pub struct Device { /* fields omitted */ }

Implementations

impl Device[src]

pub fn from_pixmap_with_clip(
    pixmap: &Pixmap,
    clip: IRect
) -> Result<Self, Error>
[src]

pub fn from_pixmap(pixmap: &Pixmap) -> Result<Self, Error>[src]

pub fn from_display_list(list: &DisplayList) -> Result<Self, Error>[src]

pub fn from_text_page(
    page: &TextPage,
    opts: TextPageOptions
) -> Result<Self, Error>
[src]

pub fn fill_path(
    &self,
    path: &Path,
    even_odd: bool,
    ctm: &Matrix,
    cs: &Colorspace,
    color: &[f32],
    alpha: f32,
    cp: ColorParams
) -> Result<(), Error>
[src]

pub fn stroke_path(
    &self,
    path: &Path,
    stroke: &StrokeState,
    ctm: &Matrix,
    cs: &Colorspace,
    color: &[f32],
    alpha: f32,
    cp: ColorParams
) -> Result<(), Error>
[src]

pub fn clip_path(
    &self,
    path: &Path,
    even_odd: bool,
    ctm: &Matrix
) -> Result<(), Error>
[src]

pub fn clip_stroke_path(
    &self,
    path: &Path,
    stroke: &StrokeState,
    ctm: &Matrix
) -> Result<(), Error>
[src]

pub fn fill_text(
    &self,
    text: &Text,
    ctm: &Matrix,
    cs: &Colorspace,
    color: &[f32],
    alpha: f32,
    cp: ColorParams
) -> Result<(), Error>
[src]

pub fn stroke_text(
    &self,
    text: &Text,
    stroke: &StrokeState,
    ctm: &Matrix,
    cs: &Colorspace,
    color: &[f32],
    alpha: f32,
    cp: ColorParams
) -> Result<(), Error>
[src]

pub fn clip_text(&self, text: &Text, ctm: &Matrix) -> Result<(), Error>[src]

pub fn clip_stroke_text(
    &self,
    text: &Text,
    stroke: &StrokeState,
    ctm: &Matrix
) -> Result<(), Error>
[src]

pub fn ignore_text(&self, text: &Text, ctm: &Matrix) -> Result<(), Error>[src]

pub fn fill_shade(
    &self,
    shd: &Shade,
    ctm: &Matrix,
    alpha: f32,
    cp: ColorParams
) -> Result<(), Error>
[src]

pub fn fill_image(
    &self,
    image: &Image,
    ctm: &Matrix,
    alpha: f32,
    cp: ColorParams
) -> Result<(), Error>
[src]

pub fn fill_image_mask(
    &self,
    image: &Image,
    ctm: &Matrix,
    cs: &Colorspace,
    color: &[f32],
    alpha: f32,
    cp: ColorParams
) -> Result<(), Error>
[src]

pub fn clip_image_mask(&self, image: &Image, ctm: &Matrix) -> Result<(), Error>[src]

pub fn pop_clip(&self) -> Result<(), Error>[src]

pub fn begin_mask(
    &self,
    area: Rect,
    luminosity: bool,
    cs: &Colorspace,
    bc: &[f32],
    cp: ColorParams
) -> Result<(), Error>
[src]

pub fn end_mask(&self) -> Result<(), Error>[src]

pub fn begin_group(
    &self,
    area: Rect,
    cs: &Colorspace,
    isolated: bool,
    knockout: bool,
    blend_mode: BlendMode,
    alpha: f32
) -> Result<(), Error>
[src]

pub fn end_group(&self) -> Result<(), Error>[src]

pub fn begin_tile(
    &self,
    area: Rect,
    view: Rect,
    xstep: f32,
    ystep: f32,
    ctm: &Matrix,
    id: i32
) -> Result<i32, Error>
[src]

pub fn end_tile(&self) -> Result<(), Error>[src]

pub fn begin_layer(&self, name: &str) -> Result<(), Error>[src]

pub fn end_layer(&self) -> Result<(), Error>[src]

Trait Implementations

impl Debug for Device[src]

impl Drop for 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, 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.