Arrow.h Source File documentation

Arrow.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libmspub project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10 #ifndef INCLUDED_ARROW_H
11 #define INCLUDED_ARROW_H
12
13 namespace libmspub
14 {
15 enum ArrowStyle
16 {
17 NO_ARROW,
18 TRIANGLE_ARROW,
19 STEALTH_ANGLE_ARROW,
20 ROTATED_SQUARE_ARROW,
21 CIRCLE_ARROW,
22 LINE_ARROW
23 };
24 enum ArrowSize
25 {
26 SMALL,
27 MEDIUM,
28 LARGE
29 };
30 struct Arrow
31 {
32 ArrowStyle m_style;
33 ArrowSize m_width;
34 ArrowSize m_height;
35 Arrow(ArrowStyle style, ArrowSize width, ArrowSize height) :
36 m_style(style), m_width(width), m_height(height)
37 {
38 }
39 };
40 } // namespace libmspub
41
42 #endif /* INCLUDED_ARROW_H */
43 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libmspub::STEALTH_ANGLE_ARROW
Definition: Arrow.h:19
libmspub::ArrowStyle
ArrowStyle
Definition: Arrow.h:15
libmspub::Arrow
Definition: Arrow.h:30
libmspub::LINE_ARROW
Definition: Arrow.h:22
libmspub::NO_ARROW
Definition: Arrow.h:17
libmspub::ArrowSize
ArrowSize
Definition: Arrow.h:24
libmspub::TRIANGLE_ARROW
Definition: Arrow.h:18
libmspub::Arrow::Arrow
Arrow(ArrowStyle style, ArrowSize width, ArrowSize height)
Definition: Arrow.h:35
libmspub::ROTATED_SQUARE_ARROW
Definition: Arrow.h:20
libmspub::Arrow::m_width
ArrowSize m_width
Definition: Arrow.h:33
libmspub
Definition: Arrow.h:13
libmspub::Arrow::m_height
ArrowSize m_height
Definition: Arrow.h:34
libmspub::LARGE
Definition: Arrow.h:28
libmspub::MEDIUM
Definition: Arrow.h:27
libmspub::CIRCLE_ARROW
Definition: Arrow.h:21
libmspub::Arrow::m_style
ArrowStyle m_style
Definition: Arrow.h:32
libmspub::SMALL
Definition: Arrow.h:26