17 #ifndef Fl_Copy_Surface_H 18 #define Fl_Copy_Surface_H 20 #include <FL/Fl_Widget_Surface.H> 51 class Fl_Copy_Surface_Driver *platform_surface;
64 void origin(
int *x,
int *y);
91 virtual ~Fl_Copy_Surface_Driver() {}
100 static Fl_Copy_Surface_Driver *newCopySurfaceDriver(
int w,
int h);
108 #endif // Fl_Copy_Surface_H int h()
Returns the pixel height of the copy surface.
Definition: Fl_Copy_Surface.cxx:53
This widget produces an actual window.
Definition: Fl_Window.H:53
int w()
Returns the pixel width of the copy surface.
Definition: Fl_Copy_Surface.cxx:51
void set_current()
Make this surface the current drawing surface.
Definition: Fl_Copy_Surface.cxx:35
void translate(int x, int y)
Translates the current graphics origin accounting for the current rotation.
Definition: Fl_Copy_Surface.cxx:43
virtual void set_current(void)
Make this surface the current drawing surface.
Definition: Fl_Device.cxx:67
Supports copying of graphical data to the clipboard.
Definition: Fl_Copy_Surface.H:49
virtual bool is_current()
Is this surface the current drawing surface?
Definition: Fl_Device.cxx:79
int printable_rect(int *w, int *h)
Computes the width and height of the drawable area of the drawing surface.
Definition: Fl_Copy_Surface.cxx:55
void untranslate()
Undoes the effect of a previous translate() call.
Definition: Fl_Copy_Surface.cxx:47