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;
90 virtual ~Fl_Copy_Surface_Driver() {}
99 static Fl_Copy_Surface_Driver *newCopySurfaceDriver(
int w,
int h);
Supports copying of graphical data to the clipboard.
Definition: Fl_Copy_Surface.H:49
int printable_rect(int *w, int *h) FL_OVERRIDE
Computes the width and height of the drawable area of the drawing surface.
Definition: Fl_Copy_Surface.cxx:55
void untranslate() FL_OVERRIDE
Undoes the effect of a previous translate() call.
Definition: Fl_Copy_Surface.cxx:47
int h()
Returns the pixel height of the copy surface.
Definition: Fl_Copy_Surface.cxx:53
int w()
Returns the pixel width of the copy surface.
Definition: Fl_Copy_Surface.cxx:51
void translate(int x, int y) FL_OVERRIDE
Translates the current graphics origin accounting for the current rotation.
Definition: Fl_Copy_Surface.cxx:43
virtual bool is_current()
Is this surface the current drawing surface?
Definition: Fl_Device.cxx:103
virtual void set_current(void)
Make this surface the current drawing surface.
Definition: Fl_Device.cxx:91
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition: fl_attr.h:46