Fl_Surface_Device Class Reference

A surface that's susceptible to receive graphical output. More...

#include <Fl_Device.H>

Inheritance diagram for Fl_Surface_Device:

Fl_Device Fl_Display_Device Fl_Paged_Device Fl_PostScript_File_Device Fl_System_Printer Fl_PostScript_Printer Fl_Printer Fl_Printer

List of all members.

Public Member Functions

Fl_Graphics_Driverdriver ()
 Returns the graphics driver of this drawing surface.
void driver (Fl_Graphics_Driver *graphics_driver)
 Sets the graphics driver of this drawing surface.
virtual void set_current (void)
 Use this drawing surface for future graphics requests.
virtual ~Fl_Surface_Device ()
 The destructor.

Static Public Member Functions

static Fl_Surface_Devicesurface ()
 the surface that currently receives graphics output

Static Public Attributes

static const char * device_type = "Fl_Surface_Device"
 A string that identifies each subclass of Fl_Device.

Protected Member Functions

 Fl_Surface_Device (Fl_Graphics_Driver *graphics_driver)
 Constructor that sets the graphics driver to use for the created surface.


Detailed Description

A surface that's susceptible to receive graphical output.

Constructor & Destructor Documentation

Fl_Surface_Device::Fl_Surface_Device ( Fl_Graphics_Driver graphics_driver  )  [inline, protected]

Constructor that sets the graphics driver to use for the created surface.

virtual Fl_Surface_Device::~Fl_Surface_Device (  )  [inline, virtual]

The destructor.


Member Function Documentation

Fl_Graphics_Driver* Fl_Surface_Device::driver (  )  [inline]

Returns the graphics driver of this drawing surface.

Reimplemented in Fl_PostScript_File_Device.

void Fl_Surface_Device::driver ( Fl_Graphics_Driver graphics_driver  )  [inline]

Sets the graphics driver of this drawing surface.

void Fl_Surface_Device::set_current ( void   )  [virtual]

Use this drawing surface for future graphics requests.


Member Data Documentation

const char * Fl_Surface_Device::device_type = "Fl_Surface_Device" [static]

A string that identifies each subclass of Fl_Device.

Function type() applied to a device of this class returns this string.

Reimplemented from Fl_Device.

Reimplemented in Fl_Display_Device, Fl_Paged_Device, Fl_PostScript_File_Device, Fl_System_Printer, Fl_PostScript_Printer, and Fl_Printer.


The documentation for this class was generated from the following files:

FLTK © 1998-2010 by Bill Spitzak and others.    Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.