Trait gdk4::prelude::SurfaceExtManual

source ·
pub trait SurfaceExtManual: Sealed + IsA<Surface> + 'static {
    // Provided methods
    fn create_similar_surface(
        &self,
        content: Content,
        width: i32,
        height: i32
    ) -> Surface { ... }
    fn translate_coordinates(&self, to: &Surface, x: f64, y: f64) -> bool { ... }
}
Expand description

Trait containing manually implemented methods of Surface.

Provided Methods§

source

fn create_similar_surface( &self, content: Content, width: i32, height: i32 ) -> Surface

source

fn translate_coordinates(&self, to: &Surface, x: f64, y: f64) -> bool

Object Safety§

This trait is not object safe.

Implementors§