Output raster seem ok, stats broken.

This commit is contained in:
tamasmeszaros 2019-03-27 18:37:50 +01:00
parent 8fdff97eb7
commit 440e54181b
10 changed files with 436 additions and 347 deletions

View file

@ -4,9 +4,11 @@
#include <ostream>
#include <memory>
namespace ClipperLib { class Polygon; }
namespace Slic3r {
class Polygon;
class ExPolygon;
/**
* @brief Raster captures an anti-aliased monochrome canvas where vectorial
@ -83,7 +85,8 @@ public:
void clear();
/// Draw a polygon with holes.
void draw(const Polygon& poly);
void draw(const ExPolygon& poly);
void draw(const ClipperLib::Polygon& poly);
/// Save the raster on the specified stream.
void save(std::ostream& stream, Compression comp = Compression::RAW);