Skip to content
Snippets Groups Projects
Commit a7b63c75 authored by Erik Strand's avatar Erik Strand
Browse files

Don't mill around the board when cutting traces

parent cf652686
Branches
No related tags found
No related merge requests found
...@@ -19,7 +19,8 @@ public: ...@@ -19,7 +19,8 @@ public:
{ {
png_writer_.allocate(width_px_ + 4 * min_cut_thickness_px_, png_writer_.allocate(width_px_ + 4 * min_cut_thickness_px_,
height_px_ + 4 * min_cut_thickness_px_); height_px_ + 4 * min_cut_thickness_px_);
png_writer_.set_all_pixels_black(); png_writer_.set_all_pixels(255);
draw_int_rectangle(0, width_px_, 0, height_px_, 0);
} }
int32_t to_px(double x) { int32_t to_px(double x) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment