fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / chart2 / source / view / inc / StaticGeometry.h
blob525b15b20e269d63e905852c2f5e34842ce01d59
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #ifndef INCLUDED_CHART2_SOURCE_VIEW_INC_STATICGEOMETRY_H
11 #define INCLUDED_CHART2_SOURCE_VIEW_INC_STATICGEOMETRY_H
13 #define TOP_SURFACE 0
14 #define MIDDLE_SURFACE 1
15 #define FLAT_BOTTOM_SURFACE 2
16 #define BOTTOM_SURFACE 3
17 #define FLAT_TOP_SURFACE 4
19 static GLfloat boundBox[] = {
20 0.0f, 0.0f, 0.0f,
21 0.0f, 0.0f, 1.0f,
22 0.0f, 1.0f, 1.0f,//1
24 0.0f, 0.0f, 0.0f,
25 0.0f, 1.0f, 1.0f,
26 0.0f, 1.0f, 0.0f,//2
28 1.0f, 1.0f, 0.0f,
29 0.0f, 0.0f, 0.0f,
30 0.0f, 1.0f, 0.0f,//3
32 1.0f, 1.0f, 0.0f,
33 1.0f, 0.0f, 0.0f,
34 0.0f, 0.0f, 0.0f,//4
36 1.0f, 0.0f, 1.0f,
37 0.0f, 0.0f, 0.0f,
38 1.0f, 0.0f, 0.0f,//5
40 1.0f, 0.0f, 1.0f,
41 0.0f, 0.0f, 1.0f,
42 0.0f, 0.0f, 0.0f,//6
44 1.0f, 1.0f, 1.0f,
45 1.0f, 1.0f, 0.0f,
46 0.0f, 1.0f, 0.0f,//7
48 1.0f, 1.0f, 1.0f,
49 0.0f, 1.0f, 0.0f,
50 0.0f, 1.0f, 1.0f,//8
52 0.0f, 1.0f, 1.0f,
53 0.0f, 0.0f, 1.0f,
54 1.0f, 0.0f, 1.0f,//9
56 1.0f, 1.0f, 1.0f,
57 0.0f, 1.0f, 1.0f,
58 1.0f, 0.0f, 1.0f,//10
60 1.0f, 1.0f, 1.0f,
61 1.0f, 0.0f, 0.0f,
62 1.0f, 1.0f, 0.0f,//11
64 1.0f, 0.0f, 0.0f,
65 1.0f, 1.0f, 1.0f,
66 1.0f, 0.0f, 1.0f//12
69 static const GLfloat boundBoxNormal[] = {
70 -1.0f, 0.0f, 0.0f,
71 -1.0f, 0.0f, 0.0f,
72 -1.0f, 0.0f, 0.0f,//1
74 -1.0f, 0.0f, 0.0f,
75 -1.0f, 0.0f, 0.0f,
76 -1.0f, 0.0f, 0.0f,//2
78 0.0f, 0.0f, -1.0f,
79 0.0f, 0.0f, -1.0f,
80 0.0f, 0.0f, -1.0f,//3
82 0.0f, 0.0f, -1.0f,
83 0.0f, 0.0f, -1.0f,
84 0.0f, 0.0f, -1.0f,//4
86 0.0f, -1.0f, 0.0f,
87 0.0f, -1.0f, 0.0f,
88 0.0f,- 1.0f, 0.0f,//5
90 0.0f, -1.0f, 0.0f,
91 0.0f, -1.0f, 0.0f,
92 0.0f, -1.0f, 0.0f,//6
94 0.0f, 1.0f, 0.0f,
95 0.0f, 1.0f, 0.0f,
96 0.0f, 1.0f, 0.0f,//7
98 0.0f, 1.0f, 0.0f,
99 0.0f, 1.0f, 0.0f,
100 0.0f, 1.0f, 0.0f,//8
102 0.0f, 0.0f, 1.0f,
103 0.0f, 0.0f, 1.0f,
104 0.0f, 0.0f, 1.0f,//9
106 0.0f, 0.0f, 1.0f,
107 0.0f, 0.0f, 1.0f,
108 0.0f, 0.0f, 1.0f,//10
110 1.0f, 0.0f, 0.0f,
111 1.0f, 0.0f, 0.0f,
112 1.0f, 0.0f, 0.0f,//11
114 1.0f, 0.0f, 0.0f,
115 1.0f, 0.0f, 0.0f,
116 1.0f, 0.0f, 0.0f//12
119 static GLfloat coordReverseVertices[] = {
120 0.0f, 1.0f,
121 1.0f, 1.0f,
122 1.0f, 0.0f,
123 0.0f, 0.0f,
126 static GLfloat squareVertices[] = {
127 -1.0f, -1.0f, -1.0,
128 1.0f, -1.0f, -1.0,
129 1.0f, 1.0f, -1.0,
130 -1.0f, 1.0f, -1.0
133 #endif
135 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */