|
static Orientation | transform_orientation (Orientation orientation, bool rotate, bool reverse=false) |
|
enum | RestrictMode { X,
Y,
ARB
} |
|
void | move_init (const Coordi &c) |
|
void | move_do (const Coordi &delta) |
|
void | move_do_cursor (const Coordi &c) |
|
void | move_mirror_or_rotate (const Coordi ¢er, bool rotate) |
|
Coordi | get_delta () const |
|
virtual ToolSettings * | get_settings () |
|
void | cycle_restrict_mode () |
|
void | cycle_restrict_mode_xy () |
|
std::string | restrict_mode_to_string () const |
|
Coordi | get_coord_restrict (const Coordi &old, const Coordi &cur) const |
|
Cores | core |
|
class ImpInterface * | imp = nullptr |
|
ToolID | tool_id = ToolID::NONE |
|
bool | is_transient = false |
|
RestrictMode | restrict_mode = RestrictMode::ARB |
|
◆ begin()
Gets called right after the constructor has finished.
Used to get the initial placement right and set things up. For non-interactive Tools (e.g. DELETE), this one may return ToolResponse::end()
Implements horizon::ToolBase.
◆ can_begin()
bool horizon::ToolImportDXF::can_begin |
( |
| ) |
|
|
virtual |
- Returns
- true if this Tool can begin in sensible way
Reimplemented from horizon::ToolBase.
The documentation for this class was generated from the following files: