mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
Rasterizer skeleton
This commit is contained in:
parent
d9ff63c022
commit
e1b9c13024
5 changed files with 184 additions and 49 deletions
|
@ -315,13 +315,17 @@ public:
|
|||
SVG
|
||||
};
|
||||
|
||||
void print_to_png(std::string dirpath);
|
||||
|
||||
private:
|
||||
|
||||
template<FilePrinterFormat format, class...Args>
|
||||
void print_to(std::string dirpath, Args...args);
|
||||
|
||||
void print_to_png(std::string dirpath, long width_px, long height_px,
|
||||
Pointf pixel_size_mm);
|
||||
|
||||
void print_to_png(std::string dirpath) {
|
||||
// Where should this be specified?
|
||||
print_to_png(dirpath, 2560, 1440, Pointf{2560/700.0, 2560/400.0});
|
||||
}
|
||||
|
||||
private:
|
||||
bool invalidate_state_by_config_options(const std::vector<t_config_option_key> &opt_keys);
|
||||
PrintRegionConfig _region_config_from_model_volume(const ModelVolume &volume);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue