Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xs/src/libslic3r/SVG.hpp')
-rw-r--r--xs/src/libslic3r/SVG.hpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/xs/src/libslic3r/SVG.hpp b/xs/src/libslic3r/SVG.hpp
new file mode 100644
index 000000000..5d4cfd56e
--- /dev/null
+++ b/xs/src/libslic3r/SVG.hpp
@@ -0,0 +1,25 @@
+#ifndef slic3r_SVG_hpp_
+#define slic3r_SVG_hpp_
+
+#include <myinit.h>
+#include "Line.hpp"
+#include "TriangleMesh.hpp"
+
+namespace Slic3r {
+
+class SVG
+{
+ private:
+ FILE* f;
+ float coordinate(long c);
+ public:
+ bool arrows;
+ SVG(const char* filename);
+ void AddLine(const Line &line);
+ void AddLine(const IntersectionLine &line);
+ void Close();
+};
+
+}
+
+#endif