summaryrefslogtreecommitdiff
path: root/include/basegfx/utils/unotools.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/basegfx/utils/unotools.hxx')
-rw-r--r--include/basegfx/utils/unotools.hxx38
1 files changed, 38 insertions, 0 deletions
diff --git a/include/basegfx/utils/unotools.hxx b/include/basegfx/utils/unotools.hxx
new file mode 100644
index 000000000000..3a58a2068fd9
--- /dev/null
+++ b/include/basegfx/utils/unotools.hxx
@@ -0,0 +1,38 @@
+/* -*- 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/.
+ */
+
+#ifndef INCLUDED_BASEGFX_UTILS_UNOTOOLS_HXX
+#define INCLUDED_BASEGFX_UTILS_UNOTOOLS_HXX
+
+#include <cppuhelper/basemutex.hxx>
+#include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/rendering/FillRule.hpp>
+#include <com/sun/star/rendering/XLinePolyPolygon2D.hpp>
+#include <com/sun/star/rendering/XBezierPolyPolygon2D.hpp>
+#include <basegfx/polygon/b2dpolypolygon.hxx>
+
+
+namespace basegfx
+{
+class B2DPolyPolygon;
+
+namespace unotools
+{
+ /// @throws css::lang::IllegalArgumentException
+ BASEGFX_DLLPUBLIC B2DPolyPolygon polyPolygonBezierToB2DPolyPolygon(const css::drawing::PolyPolygonBezierCoords& rSourcePolyPolygon);
+
+ BASEGFX_DLLPUBLIC void b2DPolyPolygonToPolyPolygonBezier( const B2DPolyPolygon& rPolyPoly,
+ css::drawing::PolyPolygonBezierCoords& rRetval );
+}
+}
+
+#endif // INCLUDED_BASEGFX_UTILS_UNOTOOLS_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */