Trait rsvg::HandleExt [] [src]

pub trait HandleExt {
    fn close(&self) -> Result<(), Error>;
fn get_dimensions(&self) -> DimensionData;
fn get_dimensions_sub<'a, P: Into<Option<&'a str>>>(
        &self,
        id: P
    ) -> Option<DimensionData>;
fn get_pixbuf(&self) -> Option<Pixbuf>;
fn get_pixbuf_sub<'a, P: Into<Option<&'a str>>>(
        &self,
        id: P
    ) -> Option<Pixbuf>;
fn get_position_sub(&self, id: &str) -> Option<PositionData>;
fn has_sub(&self, id: &str) -> bool;
fn render_cairo(&self, cr: &Context) -> bool;
fn render_cairo_sub<'a, P: Into<Option<&'a str>>>(
        &self,
        cr: &Context,
        id: P
    ) -> bool;
fn set_base_uri(&self, base_uri: &str);
fn set_dpi(&self, dpi: f64);
fn set_dpi_x_y(&self, dpi_x: f64, dpi_y: f64);
fn write(&self, buf: &[u8]) -> Result<(), Error>;
fn get_property_dpi_x(&self) -> f64;
fn set_property_dpi_x(&self, dpi_x: f64);
fn get_property_dpi_y(&self) -> f64;
fn set_property_dpi_y(&self, dpi_y: f64);
fn get_property_em(&self) -> f64;
fn get_property_ex(&self) -> f64;
fn get_property_flags(&self) -> HandleFlags;
fn get_property_height(&self) -> i32;
fn get_property_width(&self) -> i32;
fn connect_property_dpi_x_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_dpi_y_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_em_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_ex_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_flags_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_height_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_width_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required Methods

Implementors