pub trait PaintableImpl: ObjectImpl {
fn snapshot(
&self,
paintable: &Self::Type,
snapshot: &Snapshot,
width: f64,
height: f64
);
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
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