summaryrefslogtreecommitdiff
path: root/FL/Fl_Device.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-31 16:55:49 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-04-30 10:22:47 +0200
commit9472ff546cc0b4150d4dec89b48b3e4814b421f6 (patch)
treebd4bd14b59b13a41decf50a207c7e1770bcabd6e /FL/Fl_Device.H
parentb402b6a8397f9fc13157813d39d505ea9ead00f0 (diff)
Implement and document new class Fl_PDF_File_Surface
Diffstat (limited to 'FL/Fl_Device.H')
-rw-r--r--FL/Fl_Device.H10
1 files changed, 0 insertions, 10 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H
index 93de0b4f9..ab216a0e0 100644
--- a/FL/Fl_Device.H
+++ b/FL/Fl_Device.H
@@ -52,16 +52,6 @@ class Fl_Image_Surface;
</ol>
For back-compatibility, it is also possible to use the Fl_Surface_Device::set_current() member function
to change the current drawing surface, once to the new surface, once to the previous one.
-
- Class Fl_Surface_Device can also be derived to define new kinds of graphical output
- usable with FLTK drawing functions.
- An example would be to draw to a PDF file. This would require to create a new class,
- say PDF_File_Surface, derived from class Fl_Surface_Device, and another new class,
- say PDF_Graphics_Driver, derived from class Fl_Graphics_Driver.
- Class PDF_Graphics_Driver should implement all virtual methods of the Fl_Graphics_Driver class
- to support all FLTK drawing functions and have them draw into PDF files. Alternatively,
- class PDF_Graphics_Driver could implement only some virtual methods, and only part of
- the FLTK drawing API would be usable when drawing to PDF files.
*/
class FL_EXPORT Fl_Surface_Device {
/** The graphics driver in use by this surface. */