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(); }
Expand description

Defines the methods implemented by all surface types, currently ImageSurface

Required methods

Checks whether this surface is the current surface

Get the current surface

Push a surface as a current surface

Pop the current surface

Implementors