pub trait TileBackendExt: IsA<TileBackend> + Sealed + 'static {
    // Provided methods
    fn is_flush_on_destroy(&self) -> bool { ... }
    fn tile_height(&self) -> i32 { ... }
    fn tile_size(&self) -> i32 { ... }
    fn tile_width(&self) -> i32 { ... }
    fn peek_storage(&self) -> Option<TileSource> { ... }
    fn set_extent(&self, rectangle: &Rectangle) { ... }
    fn set_flush_on_destroy(&self, flush_on_destroy: bool) { ... }
    fn px_size(&self) -> i32 { ... }
    fn connect_flush_on_destroy_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_px_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_tile_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all TileBackend methods.

Implementors

TileBackend

Provided Methods§

source

fn is_flush_on_destroy(&self) -> bool

source

fn tile_height(&self) -> i32

Returns

the height of tile from this backend

source

fn tile_size(&self) -> i32

Returns

the size in bytes for a tile from this backend

source

fn tile_width(&self) -> i32

Returns

the width of tile from this backend

source

fn peek_storage(&self) -> Option<TileSource>

Gets a pointer to the GeglTileStorage that uses the backend

Returns

the GeglTileStorage

source

fn set_extent(&self, rectangle: &Rectangle)

Specify the extent of the backend, can be used to pre-prime the backend with the width/height information when constructing proxy GeglBuffers to interact with other systems

rectangle

the new extent

source

fn set_flush_on_destroy(&self, flush_on_destroy: bool)

source

fn px_size(&self) -> i32

source

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

source

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

source

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

Implementors§