pub trait PaintableImpl: ObjectImpl {
    // Required method
    fn snapshot(
        &self,
        paintable: &Self::Type,
        snapshot: &Snapshot,
        width: f64,
        height: f64
    );

    // Provided methods
    fn current_image(&self, paintable: &Self::Type) -> Paintable { ... }
    fn flags(&self, paintable: &Self::Type) -> PaintableFlags { ... }
    fn intrinsic_width(&self, paintable: &Self::Type) -> i32 { ... }
    fn intrinsic_height(&self, paintable: &Self::Type) -> i32 { ... }
    fn intrinsic_aspect_ratio(&self, paintable: &Self::Type) -> f64 { ... }
}

Required Methods§

source

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

Provided Methods§

source

fn current_image(&self, paintable: &Self::Type) -> Paintable

source

fn flags(&self, paintable: &Self::Type) -> PaintableFlags

source

fn intrinsic_width(&self, paintable: &Self::Type) -> i32

source

fn intrinsic_height(&self, paintable: &Self::Type) -> i32

source

fn intrinsic_aspect_ratio(&self, paintable: &Self::Type) -> f64

Implementors§