New class for generating SVG from XS. Includes some minor refactoring to TriangleMesh

This commit is contained in:
Alessandro Ranellucci 2013-10-13 15:59:38 +02:00
parent 9918c1e97d
commit ac93e15c98
5 changed files with 71 additions and 22 deletions

21
xs/src/SVG.hpp Normal file
View 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