[][src]Trait pdf_extract::OutputDev

pub trait OutputDev {
    fn begin_page(
        &mut self,
        page_num: u32,
        media_box: &MediaBox,
        art_box: Option<(f64, f64, f64, f64)>
    );
fn end_page(&mut self);
fn output_character(
        &mut self,
        trm: &Transform2D<f64>,
        width: f64,
        spacing: f64,
        font_size: f64,
        char: &str
    );
fn begin_word(&mut self);
fn end_word(&mut self);
fn end_line(&mut self); fn stroke(
        &mut self,
        ctm: &Transform2D<f64>,
        colorspace: &ColorSpace,
        color: &[f64],
        &Path
    ) { ... }
fn fill(
        &mut self,
        ctm: &Transform2D<f64>,
        colorspace: &ColorSpace,
        color: &[f64],
        &Path
    ) { ... } }

Required methods

fn begin_page(
    &mut self,
    page_num: u32,
    media_box: &MediaBox,
    art_box: Option<(f64, f64, f64, f64)>
)

fn end_page(&mut self)

fn output_character(
    &mut self,
    trm: &Transform2D<f64>,
    width: f64,
    spacing: f64,
    font_size: f64,
    char: &str
)

fn begin_word(&mut self)

fn end_word(&mut self)

fn end_line(&mut self)

Loading content...

Provided methods

fn stroke(
    &mut self,
    ctm: &Transform2D<f64>,
    colorspace: &ColorSpace,
    color: &[f64],
    &Path
)

fn fill(
    &mut self,
    ctm: &Transform2D<f64>,
    colorspace: &ColorSpace,
    color: &[f64],
    &Path
)

Loading content...

Implementors

impl<'a> OutputDev for HTMLOutput<'a>[src]

impl<'a> OutputDev for SVGOutput<'a>[src]

impl<W: ConvertToFmt> OutputDev for PlainTextOutput<W>[src]

Loading content...