19 #ifndef Fl_Copy_Surface_H
20 #define Fl_Copy_Surface_H
25 #if defined(__APPLE__)
26 #include <ApplicationServices/ApplicationServices.h>
60 CFMutableDataRef pdfdata;
63 void prepare_copy_pdf_and_tiff(
int w,
int h);
64 void complete_copy_pdf_and_tiff();
65 void init_PDF_context(
int w,
int h);
66 static size_t MyPutBytes(
void* info,
const void* buffer,
size_t count);
76 static const char *class_id;
81 void draw(
Fl_Widget* widget,
int delta_x = 0,
int delta_y = 0);
84 #if defined(__APPLE__)
92 static const char *class_id;
94 Fl_Quartz_Surface_(
int w,
int h);
96 virtual ~Fl_Quartz_Surface_() {};
108 static const char *class_id;
113 virtual ~Fl_GDI_Surface_();
116 #elif !defined(FL_DOXYGEN)
121 static const char *class_id;
126 virtual ~Fl_Xlib_Surface_();
131 #endif // Fl_Copy_Surface_H