2#include "core/tool.hpp"
3#include "clipper/clipper.hpp"
9 using ToolBase::ToolBase;
20 json serialize()
const override;
21 void load_from_json(
const json &j)
override;
23 int64_t expand_silk = .2_mm;
24 int64_t expand_pad = .2_mm;
25 int64_t line_width = .15_mm;
33 std::set<InToolActionID> get_actions()
const override
35 using I = InToolActionID;
43 bool select_polygon();
44 ToolResponse redraw_silkscreen();
45 void clear_silkscreen();
46 void restore_package_visibility();
48 class GenerateSilkscreenWindow *win =
nullptr;
50 const class Polygon *pp;
52 ClipperLib::Path path_pkg;
53 ClipperLib::Paths pads;
a class to store JSON values
Definition json.hpp:177