2013-10-13 13:59:38 +00:00
|
|
|
#ifndef slic3r_SVG_hpp_
|
|
|
|
#define slic3r_SVG_hpp_
|
|
|
|
|
|
|
|
#include <myinit.h>
|
|
|
|
#include "Line.hpp"
|
2013-10-26 12:41:37 +00:00
|
|
|
#include "TriangleMesh.hpp"
|
2013-10-13 13:59:38 +00:00
|
|
|
|
|
|
|
namespace Slic3r {
|
|
|
|
|
|
|
|
class SVG
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
FILE* f;
|
2013-10-26 12:41:37 +00:00
|
|
|
float coordinate(long c);
|
2013-10-13 13:59:38 +00:00
|
|
|
public:
|
2013-10-26 12:41:37 +00:00
|
|
|
bool arrows;
|
2013-10-13 13:59:38 +00:00
|
|
|
SVG(const char* filename);
|
|
|
|
void AddLine(const Line &line);
|
2013-10-26 12:41:37 +00:00
|
|
|
void AddLine(const IntersectionLine &line);
|
2013-10-13 13:59:38 +00:00
|
|
|
void Close();
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|