pub trait PaintableExt: 'static {
    // Required methods
    fn compute_concrete_size(
        &self,
        specified_width: f64,
        specified_height: f64,
        default_width: f64,
        default_height: f64
    ) -> (f64, f64);
    fn current_image(&self) -> Paintable;
    fn flags(&self) -> PaintableFlags;
    fn intrinsic_aspect_ratio(&self) -> f64;
    fn intrinsic_height(&self) -> i32;
    fn intrinsic_width(&self) -> i32;
    fn invalidate_contents(&self);
    fn invalidate_size(&self);
    fn snapshot(&self, snapshot: &Snapshot, width: f64, height: f64);
    fn connect_invalidate_contents<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
    fn connect_invalidate_size<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required Methods§

source

fn compute_concrete_size( &self, specified_width: f64, specified_height: f64, default_width: f64, default_height: f64 ) -> (f64, f64)

source

fn current_image(&self) -> Paintable

source

fn flags(&self) -> PaintableFlags

source

fn intrinsic_aspect_ratio(&self) -> f64

source

fn intrinsic_height(&self) -> i32

source

fn intrinsic_width(&self) -> i32

source

fn invalidate_contents(&self)

source

fn invalidate_size(&self)

source

fn snapshot(&self, snapshot: &Snapshot, width: f64, height: f64)

source

fn connect_invalidate_contents<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_invalidate_size<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Implementors§