mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Holes now printed correctly. export changed to pgm which is grayscale.
This commit is contained in:
parent
c3a944ef97
commit
d97939c012
3 changed files with 147 additions and 92 deletions
|
@ -2,7 +2,7 @@
|
|||
#define RASTERIZER_HPP
|
||||
|
||||
#include <ostream>
|
||||
#include <Polygon.hpp>
|
||||
#include <ExPolygon.hpp>
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
|
@ -33,13 +33,20 @@ public:
|
|||
};
|
||||
|
||||
explicit Raster(const Resolution& r, const PixelDim& pd );
|
||||
Raster();
|
||||
~Raster();
|
||||
Raster(const Raster& cpy);
|
||||
Raster(Raster&& m);
|
||||
|
||||
void reset(const Resolution& r, const PixelDim& pd);
|
||||
|
||||
void reset();
|
||||
|
||||
Resolution resolution() const;
|
||||
|
||||
void clear();
|
||||
|
||||
void draw(const Polygon& poly);
|
||||
void draw(const ExPolygon& poly);
|
||||
|
||||
void save(std::ostream& stream, Compression comp = Compression::RAW);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue