summaryrefslogtreecommitdiff
path: root/FL/Fl_Device.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-06-29 11:35:58 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-06-29 11:36:09 +0200
commit8d4b0c15f795ec431983f4b04357417e6c8dba77 (patch)
tree237becc1e29bf0a552e7700b231efcbd4431b97a /FL/Fl_Device.H
parent26e6c3f930a052a1e729d160b0e8e5b6042b5018 (diff)
Move class Fl_SVG_File_Surface from libfltk to libfltk_images.
File examples/SVG_File_Surface.cxx is no longer useful because it was a very partial implementation of what is now class Fl_SVG_File_Surface.
Diffstat (limited to 'FL/Fl_Device.H')
-rw-r--r--FL/Fl_Device.H15
1 files changed, 7 insertions, 8 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H
index 0c3476590..f88602aa4 100644
--- a/FL/Fl_Device.H
+++ b/FL/Fl_Device.H
@@ -56,14 +56,13 @@ class Fl_Widget;
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 an SVG file. This would require to create a new class,
- say SVG_Surface, derived from class Fl_Surface_Device, and another new class,
- say SVG_Graphics_Driver, derived from class Fl_Graphics_Driver.
- Class SVG_Graphics_Driver should implement all virtual methods of the Fl_Graphics_Driver class
- to support all FLTK drawing functions and have them draw into SVG files. Alternatively,
- class SVG_Graphics_Driver could implement only some virtual methods, and only part of
- the FLTK drawing API would be usable when drawing to SVG files
- (see examples/SVG_File_Surface.cxx for a small, working implementation of this procedure).
+ 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. */