#ifndef SVG_H_ #define SVG_H_ #include "cgal.h" #include #include namespace OpenSCAD { // currently for debugging, not necessarily pretty or useful for users. (yet) #define SVG_PXW 480 #define SVG_PXH 480 static int svg_cursor_py = 0; static int svg_px_width = SVG_PXW; static int svg_px_height = SVG_PXH; std::string svg_header( int widthpx = SVG_PXW, int heightpx = SVG_PXH ); std::string svg_label( std::string s ); std::string svg_border(); std::string svg_axes(); std::string dump_svg( const CGAL_Nef_polyhedron2 &N ); std::string dump_svg( const CGAL_Nef_polyhedron3 &N ); } // namespace #endif