From 26e6c3f930a052a1e729d160b0e8e5b6042b5018 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sat, 27 Jun 2020 09:56:00 +0200 Subject: Add classes Fl_SVG_File_Surface and Fl_EPS_File_Surface to draw to SVG and EPS. Test programs device and pixmap_browser use these new classes. Class Fl_SVG_File_Surface can be optionally made non functional using the --disable-svg configure option or turning off OPTION_USE_SVG in CMake. Class Fl_EPS_File_Surface can be optionally made non functional using the --disable-print configure option or turning off OPTION_PRINT_SUPPORT in CMake. --- src/Fl_SVG_Image.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_SVG_Image.cxx') diff --git a/src/Fl_SVG_Image.cxx b/src/Fl_SVG_Image.cxx index b0fb9dd9d..c010aa2cf 100644 --- a/src/Fl_SVG_Image.cxx +++ b/src/Fl_SVG_Image.cxx @@ -18,7 +18,7 @@ #include -#if defined(FLTK_USE_NANOSVG) || defined(FL_DOXYGEN) +#if defined(FLTK_USE_SVG) || defined(FL_DOXYGEN) #include #include @@ -272,7 +272,7 @@ void Fl_SVG_Image::normalize() { if (!array) resize(w(), h()); } -#endif // FLTK_USE_NANOSVG +#endif // FLTK_USE_SVG // // End of "$Id$". -- cgit v1.2.3