Trait fltk::prelude::SurfaceDevice[][src]

pub trait SurfaceDevice {
    fn is_current(&self) -> bool;
fn surface() -> Self;
fn push_current(new_current: &Self);
fn pop_current(); }

Defines the methods implemented by all surface types, currently ImageSurface

Required methods

fn is_current(&self) -> bool[src]

Checks whether this surface is the current surface

fn surface() -> Self[src]

Get the current surface

fn push_current(new_current: &Self)[src]

Push a surface as a current surface

fn pop_current()[src]

Pop the current surface

Loading content...

Implementors

Loading content...