2 #include "common/polygon.hpp"
3 #include "core/tool.hpp"
4 #include "tool_helper_restrict.hpp"
10 using ToolBase::ToolBase;
14 std::set<InToolActionID> get_actions()
const override
16 using I = InToolActionID;
18 I::LMB, I::CANCEL, I::RMB, I::FLIP_ARC, I::TOGGLE_ARC, I::RESTRICT,
29 enum class ArcMode { OFF, NEXT, CURRENT };
30 ArcMode arc_mode = ArcMode::OFF;
32 void update_vertex(
const Coordi &c);
33 void set_snap_filter();
34 void append_vertex(
const Coordi &c);
Definition: polygon.hpp:29
Polygon used in Padstack, Package and Board for specifying filled Regions.
Definition: polygon.hpp:27