New class for generating SVG from XS. Includes some minor refactoring to TriangleMesh
This commit is contained in:
21
xs/src/SVG.hpp
Normal file
21
xs/src/SVG.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef slic3r_SVG_hpp_
|
||||
#define slic3r_SVG_hpp_
|
||||
|
||||
#include <myinit.h>
|
||||
#include "Line.hpp"
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
class SVG
|
||||
{
|
||||
private:
|
||||
FILE* f;
|
||||
public:
|
||||
SVG(const char* filename);
|
||||
void AddLine(const Line &line);
|
||||
void Close();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user