summaryrefslogtreecommitdiff
path: root/src/svg.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-10-28 17:37:27 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-10-28 17:37:27 (GMT)
commit66b6433ffe6f8e0236cf8ab1edad7045df360b2a (patch)
treedadf7b655c9daa1ed82eac7d04a41d23abf1b320 /src/svg.h
parent66b9efb35e52987719307f605d230714408930f0 (diff)
cleanup
Diffstat (limited to 'src/svg.h')
-rw-r--r--src/svg.h22
1 files changed, 7 insertions, 15 deletions
diff --git a/src/svg.h b/src/svg.h
index f8d3c0d..2351288 100644
--- a/src/svg.h
+++ b/src/svg.h
@@ -7,27 +7,19 @@
namespace OpenSCAD {
-static int svg_cursor = 0;
+// currently for debugging, not necessarily pretty or useful for users. (yet)
-std::string svg_header( int pixwidth = 480, int pixheight = 480 );
-std::string svg_label(std::string s);
+static int svg_cursor_py = 0;
+static int svg_px_width = 480;
+static int svg_px_height = 480;
+
+std::string svg_header();
+std::string svg_label( std::string s );
std::string svg_border();
std::string svg_axes();
-CGAL_Point_2e project_svg_3to2( CGAL_Point_3 p, CGAL_Iso_cuboid_3 bbox );
-CGAL_Point_2e project_svg_2to2( CGAL_Point_2e p, CGAL_Iso_rectangle_2e bbox );
-
-std::string dump_cgal_nef_polyhedron2_face_svg(
- CGAL_Nef_polyhedron2::Explorer::Halfedge_around_face_const_circulator c1,
- CGAL_Nef_polyhedron2::Explorer::Halfedge_around_face_const_circulator c2,
- CGAL_Nef_polyhedron2::Explorer explorer,
- std::string color,
- bool mark,
- CGAL_Iso_rectangle_2e bbox );
std::string dump_svg( const CGAL_Nef_polyhedron2 &N );
-class NefPoly3_dumper_svg;
std::string dump_svg( const CGAL_Nef_polyhedron3 &N );
-
} // namespace
#endif
contact: Jan Huwald // Impressum