Trait gtk::prelude::PrintContextExt [] [src]

pub trait PrintContextExt {
    fn create_pango_context(&self) -> Option<Context>;
    fn create_pango_layout(&self) -> Option<Layout>;
    fn get_cairo_context(&self) -> Option<Context>;
    fn get_dpi_x(&self) -> f64;
    fn get_dpi_y(&self) -> f64;
    fn get_hard_margins(&self) -> Option<(f64, f64, f64, f64)>;
    fn get_height(&self) -> f64;
    fn get_page_setup(&self) -> Option<PageSetup>;
    fn get_pango_fontmap(&self) -> Option<FontMap>;
    fn get_width(&self) -> f64;
    fn set_cairo_context(&self, cr: &Context, dpi_x: f64, dpi_y: f64);
}

Required Methods

Implementors