Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

_QGAR_primitiveTypes.H

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------+
00002  | Library QgarLib, graphics analysis and recognition                  |
00003  | Copyright (C) 2002  Qgar Project, LORIA                             |
00004  |                                                                     |
00005  | This library is free software; you can redistribute it and/or       |
00006  | modify it under the terms of the GNU Lesser General Public          |
00007  | License version 2.1, as published by the Free Software Foundation.  |
00008  |                                                                     |
00009  | This library is distributed in the hope that it will be useful,     |
00010  | but WITHOUT ANY WARRANTY; without even the implied warranty of      |
00011  | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                |
00012  | See the GNU Lesser General Public License for more details.         |
00013  |                                                                     |
00014  | The GNU Lesser General Public License is included in the file       |
00015  | LICENSE.LGPL, in the root directory of the Qgar packaging. See      |
00016  | http://www.gnu.org/licenses/lgpl.html for the terms of the licence. |
00017  | To receive a paper copy, write to the Free Software Foundation,     |
00018  | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.       |
00019  |                                                                     |
00020  | Contact Project Qgar for any information:                           |
00021  |   LORIA - équipe Qgar                                               |
00022  |   B.P. 239, 54506 Vandoeuvre-lès-Nancy Cedex, France                |
00023  |   email: qgar-contact@loria.fr                                      |
00024  |   http://www.qgar.org/                                              |
00025  *---------------------------------------------------------------------*/
00026 
00027 
00028 #ifndef ___QGAR_PRIMITIVETYPES_H_INCLUDED__
00029 #define ___QGAR_PRIMITIVETYPES_H_INCLUDED__
00030 
00031 
00032 /**
00033  * @file    _QGAR_primitiveTypes.H
00034  * @brief   Specific types for primitives.
00035  *
00036  * @author  <a href="mailto:qgar-develop@loria.fr?subject=Qgar fwd Gérald Masini">Gérald Masini</a>
00037  * @date    January 06, 2005  15:15
00038  * @since   Qgar 2.2
00039  */
00040 
00041 // For RCS/CVS use: Do not delete
00042 /* $Id: _QGAR_primitiveTypes.H,v 1.3 2005/07/13 16:29:03 masini Exp $ */
00043 
00044 
00045 
00046 namespace qgar
00047 {
00048 
00049 
00050 /**
00051  * @name Types related to graphical primitives
00052  * @ingroup DS_PRIM_QGAR
00053  */
00054 //@{
00055 
00056 
00057 /**
00058  * @brief Colors.
00059  *
00060  * Default is black.
00061  * See Tgif <i>Color</i> menu for visual appearance.
00062  */
00063 
00064 enum QGEcolor
00065 {
00066 QGE_COLOR_NONE,
00067 QGE_COLOR_DEFAULT,
00068 QGE_COLOR_BLACK,
00069 QGE_COLOR_DARK_GRAY,
00070 QGE_COLOR_GRAY,
00071 QGE_COLOR_LIGHT_GRAY,
00072 QGE_COLOR_WHITE,
00073 QGE_COLOR_MAGENTA,
00074 QGE_COLOR_PURPLE,
00075 QGE_COLOR_CYAN,
00076 QGE_COLOR_MEDIUM_BLUE,
00077 QGE_COLOR_BLUE,
00078 QGE_COLOR_OLIVE_GREEN,
00079 QGE_COLOR_DARK_GREEN,
00080 QGE_COLOR_GREEN,
00081 QGE_COLOR_YELLOW,
00082 QGE_COLOR_ORANGE,
00083 QGE_COLOR_RED,
00084 QGE_COLOR_PINK,
00085 QGE_COLOR_SALMON_PINK,
00086 QGE_COLOR_BROWN,
00087 QGE_COLOR_CHOCOLATE_BROWN
00088 }; 
00089 
00090 
00091 /**
00092  * @brief Outline types.
00093  *
00094  * Default is solid.
00095  * See <i>Line Dash</i> in Tgif <i>Properties</i> menu
00096  * for real visual appearance.
00097  *
00098 @verbatim
00099    QGE_OUTLINE_SOLID        : __________________
00100    QGE_OUTLINE_DASH_SSPACED : -  -  -  -  -  -  
00101    QGE_OUTLINE_DASH_SPACED  : - - - - - - - - - 
00102    QGE_OUTLINE_DASH_REGULAR : ------------------
00103    QGE_OUTLINE_DASH_LS      : __.__.__.__.__.__.
00104    QGE_OUTLINE_DASH_SS      : ------------------
00105    QGE_OUTLINE_DASH_LSS     : __..__..__..__..__
00106    QGE_OUTLINE_DASH_LSPACED : __  __  __  __  __
00107    QGE_OUTLINE_DOT          : ..................
00108 
00109 @endverbatim
00110  */
00111 
00112 enum QGEoutline
00113 {
00114 QGE_OUTLINE_NONE,
00115 QGE_OUTLINE_DEFAULT,
00116 QGE_OUTLINE_SOLID,
00117 QGE_OUTLINE_DASH_SSPACED,
00118 QGE_OUTLINE_DASH_SPACED,
00119 QGE_OUTLINE_DASH_REGULAR,
00120 QGE_OUTLINE_DASH_LS,
00121 QGE_OUTLINE_DASH_SS,
00122 QGE_OUTLINE_DASH_LSS,
00123 QGE_OUTLINE_DASH_LSPACED,
00124 QGE_OUTLINE_DOT
00125 };
00126 
00127 
00128 //@}
00129 
00130 
00131 } // namespace qgar
00132 
00133 
00134 #endif /* ___QGAR_PRIMITIVETYPES_H_INCLUDED__ */