Horizon
src
core
tool_helper_move.hpp
1
#pragma once
2
#include "core.hpp"
3
4
namespace
horizon
{
5
class
ToolHelperMove
:
public
virtual
ToolBase
{
6
public
:
7
ToolHelperMove
(
class
Core
*c, ToolID tid) :
ToolBase
(c, tid)
8
{
9
}
10
static
Orientation transform_orienation(Orientation orientation,
bool
rotate,
bool
reverse =
false
);
11
12
protected
:
13
void
move_init(
const
Coordi
&c);
14
void
move_do(
const
Coordi
&delta);
15
void
move_do_cursor(
const
Coordi
&c);
16
void
move_mirror_or_rotate(
const
Coordi
¢er,
bool
rotate);
17
18
private
:
19
Coordi
last;
20
};
21
}
// namespace horizon
horizon::ToolHelperMove
Definition:
tool_helper_move.hpp:5
horizon::Core
Where Tools and and documents meet.
Definition:
core.hpp:249
horizon
Definition:
block.cpp:7
horizon::ToolBase
Common interface for all Tools.
Definition:
core.hpp:170
horizon::Coord< int64_t >
Generated by
1.8.13