attic/src/annotationtext/Enums.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file terralib/annotationtext/Enums.h
22 
23  \brief Several enumerations related to Annotation Text.
24  */
25 
26 #ifndef __TERRALIB_ANNOTATIONTEXT_INTERNAL_ENUMS_H
27 #define __TERRALIB_ANNOTATIONTEXT_INTERNAL_ENUMS_H
28 
29 namespace te
30 {
31  namespace at
32  {
33  /*!
34  \enum FontStyle
35 
36  \brief Font style for drawing text.
37  */
38  enum FontStyle
39  {
40  Italic = 1, /*!< An italic style. */
41  NormalStyle = 2, /*!< A normal style. */
42  Oblique = 4 /*!< A oblique style. */
43  };
44 
45  /*!
46  \enum FontWeight
47 
48  \brief Font weight for drawing text.
49  */
51  {
52  Light = 100, /*!< ???? */
53  NormalWeight = 200, /*!< ???? */
54  DemiBold = 300, /*!< ???? */
55  Bold = 400, /*!< ???? */
56  ExtraBold = 500, /*!< ???? */
57  UltraBold = 600, /*!< ???? */
58  Black = 700, /*!< ???? */
59  ExtraBlack = 800, /*!< ???? */
60  UltraBlack = 900 /*!< ???? */
61  };
62 
63  /*!
64  \enum TextDecoration
65 
66  \brief Text decoration for drawing text.
67  */
69  {
70  None = 1, /*!< ???? */
71  LineThrought = 2, /*!< ???? */
72  Underline = 4, /*!< ???? */
73  Overline =8 /*!< ???? */
74  };
75 
76  /*!
77  \enum HorizontalAlignment
78 
79  \brief Horizontal alignment for drawing text.
80  */
82  {
83  Start = 1, /*!< ???? */
84  CenterH = 2, /*!< ???? */
85  End = 4 /*!< ???? */
86  };
87 
88  /*!
89  \enum VerticalAlignment
90 
91  \brief Vertical alignment for drawing text.
92  */
94  {
95  Top = 1, /*!< ???? */
96  CenterV = 2, /*!< ???? */
97  Baseline = 4, /*!< ???? */
98  Bottom = 8 /*!< ???? */
99  };
100 
101  /*!
102  \enum LineJustification
103 
104  \brief Line justification for drawing multi line text.
105  */
107  {
108  Left = 1, /*!< ???? */
109  Center = 2, /*!< ???? */
110  Right = 4 /*!< ???? */
111  };
112  } // end namespace at
113 } // end namespace te
114 
115 #endif // __TERRALIB_ANNOTATIONTEXT_INTERNAL_ENUMS_H
116 
FontWeight
Font weight for drawing text.
LineJustification
Line justification for drawing multi line text.
FontStyle
Font style for drawing text.
TextDecoration
Text decoration for drawing text.
HorizontalAlignment
Horizontal alignment for drawing text.
URI C++ Library.
Definition: Attributes.h:37
VerticalAlignment
Vertical alignment for drawing text.