19#ifndef Fl_Copy_Surface_H 
   20#define Fl_Copy_Surface_H 
   57  CFMutableDataRef pdfdata;
 
   60  void prepare_copy_pdf_and_tiff(
int w, 
int h);
 
   61  void complete_copy_pdf_and_tiff();
 
   62  void init_PDF_context(
int w, 
int h);
 
   63  static size_t MyPutBytes(
void* info, 
const void* buffer, 
size_t count);
 
   73  static const char *class_id;
 
   78  void draw(
Fl_Widget* widget, 
int delta_x = 0, 
int delta_y = 0);
 
   79  void draw_decorated_window(
Fl_Window* win, 
int delta_x = 0, 
int delta_y = 0);
 
   81  int w() { 
return width; }
 
   83  int h() { 
return height; }
 
 
   94  static const char *class_id;
 
   96  Fl_Quartz_Surface_(
int w, 
int h);
 
   97  virtual int printable_rect(
int *w, 
int *h);
 
   98  virtual ~Fl_Quartz_Surface_() {};
 
  110  static const char *class_id;
 
  113  virtual void translate(
int x, 
int y);
 
  114  virtual void untranslate();
 
  115  virtual ~Fl_GDI_Surface_();
 
  118#elif !defined(FL_DOXYGEN) 
  123  static const char *class_id;
 
  126  virtual void translate(
int x, 
int y);
 
  127  virtual void untranslate();
 
  128  virtual ~Fl_Xlib_Surface_();
 
declaration of class Fl_Paged_Device.
declaration of classes Fl_Printer, Fl_System_Printer and Fl_PostScript_Printer.
Supports copying of graphical data to the clipboard.
Definition Fl_Copy_Surface.H:51
int h()
Returns the pixel height of the copy surface.
Definition Fl_Copy_Surface.H:83
Fl_Copy_Surface(int w, int h)
Constructor.
Definition Fl_Copy_Surface.cxx:71
int w()
Returns the pixel width of the copy surface.
Definition Fl_Copy_Surface.H:81
const char * class_name()
Returns the name of the class of this object.
Definition Fl_Copy_Surface.H:74
Represents page-structured drawing surfaces.
Definition Fl_Paged_Device.H:38
virtual void set_current(void)
Make this surface the current drawing surface.
Definition Fl_Device.cxx:44
Fl_Surface_Device(Fl_Graphics_Driver *graphics_driver)
Constructor that sets the graphics driver to use for the created surface.
Definition Fl_Device.H:563
const char * class_name()
Returns the name of the class of this object.
Definition Fl_Device.H:566
Print support under MSWindows and Mac OS.
Definition Fl_Printer.H:47
This widget produces an actual window.
Definition Fl_Window.H:57