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

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

Checks whether this surface is the current surface

fn surface() -> Self

Get the current surface

fn push_current(new_current: &Self)

Push a surface as a current surface

fn pop_current()

Pop the current surface

Loading content...

Implementors

impl SurfaceDevice for ImageSurface[src]

Loading content...