summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-03-27 20:33:13 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-03-27 20:34:25 +0100
commite691541fb5954f702c36dd0ec94e7c79a9fdb9de (patch)
treef66460f39549c298af362be2b0a6ae4bdf6375fa /chart2/source
parentf7c8d7655f9e90df2ad79a379d3877e22db08f89 (diff)
add interface for 3D stock type chart in 3D sceen
Change-Id: Ia7e17b64ce5f5f2320744618bb3006f4f9c2ab17
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/view/main/3DChartObjects.hxx55
1 files changed, 55 insertions, 0 deletions
diff --git a/chart2/source/view/main/3DChartObjects.hxx b/chart2/source/view/main/3DChartObjects.hxx
new file mode 100644
index 000000000000..5851595eff42
--- /dev/null
+++ b/chart2/source/view/main/3DChartObjects.hxx
@@ -0,0 +1,55 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+namespace chart {
+
+namespace 3d {
+
+class Bar
+{
+private:
+ bool mbRoundedCorners;
+ glm::mat4 maPos;
+ Color maColor; // RGBA fill color
+ sal_Int32 nUniqueId;
+}:
+
+class Line
+{
+private:
+ glm::vec3 maPosBegin;
+ glm::vec3 maPosEnd;
+ Color maLineColor; // RGBA line color
+ sal_Int32 nUniqueId;
+}:
+
+class Text
+{
+private:
+ BitmapEx maText;
+ glm::vec3 maTopLeft;
+ glm::vec3 maBottomRight;
+ sal_Int32 nUniqueId;
+};
+
+class Rectangle
+{
+private:
+ glm::vec3 maTopLeft;
+ glm::vec3 maBottomRight;
+ sal_Int32 nUniqueId;
+ Color maColor; // RGBA fill color
+ Color maLineColor; // RGBA line color
+};
+
+}
+
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */