diff options
| author | Manolo Gouy <Manolo> | 2016-12-14 18:54:12 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-12-14 18:54:12 +0000 |
| commit | 1fc01c7cbb23fe21b1cf07261659badfb1dd3fb9 (patch) | |
| tree | c6ed6b19fe8f6ecd47f057d8a1eba115a2f4d180 /FL | |
| parent | 6645a6b225b165b740edd71dbc3a3b67dd0bbb63 (diff) | |
Implement a platform-independent version of Fl_Graphics_Driver::copy_offscreen() usable when drawing to PostScript.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12147 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Screen_Driver.H | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H index e857930a7..57a8bfee0 100644 --- a/FL/Fl_Screen_Driver.H +++ b/FL/Fl_Screen_Driver.H @@ -140,6 +140,8 @@ public: virtual void open_display() {} // optional method to close display access virtual void close_display() {} + // compute dimensions of an Fl_Offscreen + virtual void offscreen_size(Fl_Offscreen off, int &width, int &height) {} }; |
