[Libreoffice-commits] core.git: chart2/source
Markus Mohrhard
markus.mohrhard at collabora.co.uk
Thu Mar 27 12:35:54 PDT 2014
chart2/source/view/main/3DChartObjects.hxx | 55 +++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
New commits:
commit e691541fb5954f702c36dd0ec94e7c79a9fdb9de
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date: Thu Mar 27 20:33:13 2014 +0100
add interface for 3D stock type chart in 3D sceen
Change-Id: Ia7e17b64ce5f5f2320744618bb3006f4f9c2ab17
diff --git a/chart2/source/view/main/3DChartObjects.hxx b/chart2/source/view/main/3DChartObjects.hxx
new file mode 100644
index 0000000..5851595
--- /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: */
More information about the Libreoffice-commits
mailing list