You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWATI/Include/iPlot/iPlotBase/ZxDirection.h

67 lines
1013 B
C++

#pragma once
namespace Zx
{
/// 九个方位, 位置或朝向
enum Direction
{
/// 中 = 未指定方向
Center = 0,
/// 未指定方向 = 中
None = Center,
/// 西 = 左
West = 1,
/// 左 = 西
Left = West,
/// 东 = 右
East = 2,
/// 右 = 东
Right = East,
/// 北 = 上
North = 3,
/// 上 = 北
Top = North,
/// 南 = 下
South = 4,
/// 下 = 南
Bottom = South,
/// 西北 = 左上
NorthWest = 5,
/// 左上 = 西北
TopLeft = NorthWest,
/// 东北 = 右上
NorthEast = 6,
/// 右上 = 东北
TopRight = NorthEast,
/// 西南 = 左下
SouthWest = 7,
/// 左下 = 西南
BottomLeft = SouthWest,
/// 东南 = 右下
SouthEast = 8,
/// 右下 = 东南
BottomRight = SouthEast
};
}