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;
17 return {I::LMB, I::CANCEL, I::RMB, I::FLIP_ARC, I::TOGGLE_ARC, I::RESTRICT, I::TOGGLE_DEG45_RESTRICT};
27 enum class ArcMode { OFF, NEXT, CURRENT };
28 ArcMode arc_mode = ArcMode::OFF;
30 void update_vertex(
const Coordi &c);
31 void set_snap_filter();
32 void append_vertex(
const Coordi &c);
Definition polygon.hpp:27
Polygon used in Padstack, Package and Board for specifying filled Regions.
Definition polygon.hpp:25