fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / include / svx / sdr / primitive2d / sdrdecompositiontools.hxx
blobcac426980dee6ff4a604d1e6434d739d7559eb9e
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_SDR_PRIMITIVE2D_SDRDECOMPOSITIONTOOLS_HXX
21 #define INCLUDED_SDR_PRIMITIVE2D_SDRDECOMPOSITIONTOOLS_HXX
23 #include <drawinglayer/primitive2d/baseprimitive2d.hxx>
25 //////////////////////////////////////////////////////////////////////////////
26 // predefines
27 namespace basegfx {
28 class B2DPolygon;
29 class B2DPolyPolygon;
30 class B2DHomMatrix;
33 namespace drawinglayer { namespace attribute {
34 class SdrFillAttribute;
35 class SdrLineAttribute;
36 class FillGradientAttribute;
37 class SdrShadowAttribute;
38 class SdrLineStartEndAttribute;
39 class SdrTextAttribute;
42 //////////////////////////////////////////////////////////////////////////////
44 namespace drawinglayer
46 namespace primitive2d
48 Primitive2DReference createPolyPolygonFillPrimitive(
49 const basegfx::B2DPolyPolygon& rUnitPolyPolygon,
50 const basegfx::B2DHomMatrix& rObjectTransform,
51 const attribute::SdrFillAttribute& rFill,
52 const attribute::FillGradientAttribute& rFillGradient);
54 Primitive2DReference createPolygonLinePrimitive(
55 const basegfx::B2DPolygon& rUnitPolygon,
56 const basegfx::B2DHomMatrix& rObjectTransform,
57 const attribute::SdrLineAttribute& rLine,
58 const attribute::SdrLineStartEndAttribute& rStroke);
60 Primitive2DReference createTextPrimitive(
61 const basegfx::B2DPolyPolygon& rUnitPolyPolygon,
62 const basegfx::B2DHomMatrix& rObjectTransform,
63 const attribute::SdrTextAttribute& rText,
64 const attribute::SdrLineAttribute& rStroke,
65 bool bCellText,
66 bool bWordWrap,
67 bool bClipOnBounds);
69 Primitive2DSequence createEmbeddedShadowPrimitive(
70 const Primitive2DSequence& rContent,
71 const attribute::SdrShadowAttribute& rShadow);
73 } // end of namespace primitive2d
74 } // end of namespace drawinglayer
76 //////////////////////////////////////////////////////////////////////////////
78 #endif //INCLUDED_SDR_PRIMITIVE2D_SDRDECOMPOSITIONTOOLS_HXX
80 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */