Arrow.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /*
00003  * This file is part of the libmspub project.
00004  *
00005  * This Source Code Form is subject to the terms of the Mozilla Public
00006  * License, v. 2.0. If a copy of the MPL was not distributed with this
00007  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
00008  */
00009 
00010 #ifndef __ARROW_H__
00011 #define __ARROW_H__
00012 
00013 namespace libmspub
00014 {
00015 enum ArrowStyle
00016 {
00017   NO_ARROW,
00018   TRIANGLE_ARROW,
00019   STEALTH_ANGLE_ARROW,
00020   ROTATED_SQUARE_ARROW,
00021   CIRCLE_ARROW,
00022   LINE_ARROW
00023 };
00024 enum ArrowSize
00025 {
00026   SMALL,
00027   MEDIUM,
00028   LARGE
00029 };
00030 struct Arrow
00031 {
00032   ArrowStyle m_style;
00033   ArrowSize m_width;
00034   ArrowSize m_height;
00035   Arrow(ArrowStyle style, ArrowSize width, ArrowSize height) :
00036     m_style(style), m_width(width), m_height(height)
00037   {
00038   }
00039 };
00040 } // namespace libmspub
00041 
00042 #endif /* __ARROW_H__ */
00043 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */