The Gnome Chemistry Utils
0.15.0
Main Page
Namespaces
Classes
Files
File List
File Members
libs
gccv
gccv/structs.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
/*
4
* Gnome Chemistry Utils
5
* gccv/structs.h
6
*
7
* Copyright (C) 2008-2010 Jean Bréfort <jean.brefort@normalesup.org>
8
*
9
* This program is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public License as
11
* published by the Free Software Foundation; either version 3 of the
12
* License, or (at your option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public License
20
* along with this program; if not, write to the Free Software
21
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
22
* USA
23
*/
24
25
#ifndef GCCV_STRUCTS_H
26
#define GCCV_STRUCTS_H
27
30
namespace
gccv {
31
36
typedef
struct
{
38
double
x0
;
40
double
x1
;
42
double
y0
;
44
double
y1
;
45
}
Rect
;
46
50
typedef
struct
{
52
double
x
;
54
double
y
;
55
}
Point
;
56
60
typedef
enum
{
62
AnchorNorthWest
,
64
AnchorNorth
,
66
AnchorNorthEast
,
68
AnchorLineWest
,
70
AnchorLine
,
72
AnchorLineEast
,
74
AnchorWest
,
76
AnchorCenter
,
78
AnchorEast
,
80
AnchorSouthWest
,
82
AnchorSouth
,
84
AnchorSouthEast
85
}
Anchor
;
86
90
typedef
enum
{
92
ArrowHeadNone
,
94
ArrowHeadFull
,
96
ArrowHeadLeft
,
98
ArrowHeadRight
,
99
}
ArrowHeads
;
100
104
typedef
enum
{
106
Normalscript
,
108
Subscript
,
110
Superscript
111
}
TextPosition
;
112
116
typedef
enum
{
118
TextDecorationNone
,
120
TextDecorationDefault
,
122
TextDecorationHigh
,
124
TextDecorationMedium
,
126
TextDecorationLow
,
128
TextDecorationDouble
,
130
TextDecorationSquiggle
131
}
TextDecoration
;
132
133
}
134
135
#endif // GCCV_STRUCTS_H
gccv::Superscript
Definition:
gccv/structs.h:110
gccv::TextDecorationNone
Definition:
gccv/structs.h:118
gccv::Subscript
Definition:
gccv/structs.h:108
gccv::TextDecorationDouble
Definition:
gccv/structs.h:128
gccv::AnchorEast
Definition:
gccv/structs.h:78
gccv::ArrowHeadNone
Definition:
gccv/structs.h:92
gccv::Rect::y1
double y1
Definition:
gccv/structs.h:44
gccv::ArrowHeadLeft
Definition:
gccv/structs.h:96
gccv::ArrowHeadFull
Definition:
gccv/structs.h:94
gccv::Rect::x1
double x1
Definition:
gccv/structs.h:40
gccv::Rect
Definition:
gccv/structs.h:36
gccv::AnchorNorth
Definition:
gccv/structs.h:64
gccv::Rect::y0
double y0
Definition:
gccv/structs.h:42
gccv::AnchorLineEast
Definition:
gccv/structs.h:72
gccv::AnchorLine
Definition:
gccv/structs.h:70
gccv::TextDecorationLow
Definition:
gccv/structs.h:126
gccv::Point::y
double y
Definition:
gccv/structs.h:54
gccv::ArrowHeads
ArrowHeads
Definition:
gccv/structs.h:90
gccv::TextDecorationMedium
Definition:
gccv/structs.h:124
gccv::TextDecorationSquiggle
Definition:
gccv/structs.h:130
gccv::AnchorSouthEast
Definition:
gccv/structs.h:84
gccv::ArrowHeadRight
Definition:
gccv/structs.h:98
gccv::Point
Definition:
gccv/structs.h:50
gccv::AnchorSouth
Definition:
gccv/structs.h:82
gccv::TextDecoration
TextDecoration
Definition:
gccv/structs.h:116
gccv::Rect::x0
double x0
Definition:
gccv/structs.h:38
gccv::TextPosition
TextPosition
Definition:
gccv/structs.h:104
gccv::AnchorNorthWest
Definition:
gccv/structs.h:62
gccv::AnchorCenter
Definition:
gccv/structs.h:76
gccv::AnchorSouthWest
Definition:
gccv/structs.h:80
gccv::Point::x
double x
Definition:
gccv/structs.h:52
gccv::AnchorLineWest
Definition:
gccv/structs.h:68
gccv::Normalscript
Definition:
gccv/structs.h:106
gccv::AnchorWest
Definition:
gccv/structs.h:74
gccv::AnchorNorthEast
Definition:
gccv/structs.h:66
gccv::TextDecorationDefault
Definition:
gccv/structs.h:120
gccv::Anchor
Anchor
Definition:
gccv/structs.h:60
gccv::TextDecorationHigh
Definition:
gccv/structs.h:122
Generated on Sat Nov 16 2013 14:35:55 for The Gnome Chemistry Utils by
1.8.5