mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-30 05:14:30 +03:00
Holes now printed correctly. export changed to pgm which is grayscale.
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user