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. --- CMake/options.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'CMake') diff --git a/CMake/options.cmake b/CMake/options.cmake index 559b68683..701280806 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -179,11 +179,11 @@ else () endif (PKG_CAIRO_FOUND) ####################################################################### -option(OPTION_USE_NANOSVG "support SVG images" ON) +option(OPTION_USE_SVG "read/write SVG files" ON) -if(OPTION_USE_NANOSVG) - set(FLTK_USE_NANOSVG 1) -endif(OPTION_USE_NANOSVG) +if(OPTION_USE_SVG) + set(FLTK_USE_SVG 1) +endif(OPTION_USE_SVG) ####################################################################### set(HAVE_GL LIB_GL OR LIB_MesaGL) -- cgit v1.2.3