Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Fl_Printer Class Reference

Fl_Printer. More...

#include <Fl_Printer.h>

Inheritance diagram for Fl_Printer:

Fl_Device Fl_PostScript List of all members.

Public Types

enum  PAGE_FORMAT {
  USER, A0, A1, A2,
  A3, A4, A5, A6,
  A7, A8, A9, B0,
  B1, B2, B3, B4,
  B5, B6, B7, B8,
  B9, B10, C5E, DLE,
  EXECUTIVE, FOLIO, LEDGER, LEGAL,
  LETTER, TABLOID, ENVELOPE, NON_DEFINED = -1
}
enum  PAGE_LAYOUT { PORTRAIT = 0, LANDSCAPE = 1 }

Public Methods

virtual void page (double pw, double ph, int orientation)=0
virtual void page (int format, int orientation)=0
double page_width () const
double page_height () const
virtual void page ()=0
virtual void margins (double left, double top, double right, double bottom)=0
virtual void fit (double x, double y, double w, double h, int align)=0
virtual void fit (double x, double y, double w, double h, double dpi, int align)=0
void fit (Fl_Widget *w, int align)
void fit (Fl_Widget *w, double dpi, int align)
virtual void place (double x, double y, double w, double h, double tx, double ty, double tw, double th, int align)=0
virtual void place (double x, double y, double w, double h, double tx, double ty, double tw, double th, double dpi, int align)=0
void place (Fl_Widget *w, double tx, double ty, double tw, double th, int align)
void place (Fl_Widget *w, double tx, double ty, double tw, double th, double dpi, int align)
 Fl_Printer ()
virtual ~Fl_Printer ()
virtual void draw (Fl_Widget *w)=0
virtual void draw (const char *s, float x, float y)
virtual void draw (const Fl_String &s, float x, float y)
virtual void draw (const char *s, int n, float x, float y)

Static Public Attributes

const int page_formats [NO_PAGE_FORMATS+1][2]

Protected Attributes

int nPages
double lm_
double tm_
double rm_
double bm_
double pw_
double ph_
int orientation_

Detailed Description

Fl_Printer.

Definition at line 37 of file Fl_Printer.h.


The documentation for this class was generated from the following file:
Generated on Thu Jul 31 15:33:51 2003 for eFLTK by doxygen1.2.15