Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / include / basegfx / tools / unotools.hxx
blobfe9d18f191b29f0b5454032501795e20d3bc7946
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_BASEGFX_TOOLS_UNOTOOLS_HXX
11 #define INCLUDED_BASEGFX_TOOLS_UNOTOOLS_HXX
13 #include <cppuhelper/basemutex.hxx>
14 #include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp>
15 #include <com/sun/star/lang/XServiceInfo.hpp>
16 #include <com/sun/star/rendering/FillRule.hpp>
17 #include <com/sun/star/rendering/XLinePolyPolygon2D.hpp>
18 #include <com/sun/star/rendering/XBezierPolyPolygon2D.hpp>
19 #include <basegfx/polygon/b2dpolypolygon.hxx>
22 namespace basegfx
24 class B2DPolyPolygon;
26 namespace unotools
28 /// @throws css::lang::IllegalArgumentException
29 BASEGFX_DLLPUBLIC B2DPolyPolygon polyPolygonBezierToB2DPolyPolygon(const css::drawing::PolyPolygonBezierCoords& rSourcePolyPolygon);
31 BASEGFX_DLLPUBLIC void b2DPolyPolygonToPolyPolygonBezier( const B2DPolyPolygon& rPolyPoly,
32 css::drawing::PolyPolygonBezierCoords& rRetval );
36 #endif // INCLUDED_BASEGFX_TOOLS_UNOTOOLS_HXX
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */