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

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

Defines the methods implemented by all surface types, currently ImageSurface

Required methods

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

Checks whether this surface is the current surface

pub fn surface() -> Self[src]

Get the current surface

pub fn push_current(new_current: &Self)[src]

Push a surface as a current surface

pub fn pop_current()[src]

Pop the current surface

Loading content...

Implementors

impl SurfaceDevice for ImageSurface[src]

impl SurfaceDevice for SvgFileSurface[src]

Loading content...