LibreOffice Module svx (master)  1
sdrdecompositiontools.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 
20 #pragma once
21 
25 
26 #include <svx/svxdllapi.h>
27 
28 // predefines
29 namespace basegfx {
30  class B2DPolygon;
31  class B2DPolyPolygon;
32  class B2DHomMatrix;
33 }
34 
35 namespace drawinglayer::attribute {
36  class SdrFillAttribute;
37  class SdrLineAttribute;
38  class FillGradientAttribute;
39  class SdrShadowAttribute;
40  class SdrLineStartEndAttribute;
41  class SdrTextAttribute;
42 }
43 
44 
46  {
48  const basegfx::B2DPolyPolygon& rPolyPolygon,
49  const attribute::SdrFillAttribute& rFill,
50  const attribute::FillGradientAttribute& rFillGradient);
51 
53  const basegfx::B2DPolyPolygon& rPolyPolygon,
54  const basegfx::B2DRange& rDefinitionRange,
55  const attribute::SdrFillAttribute& rFill,
56  const attribute::FillGradientAttribute& rFillGradient);
57 
59  const basegfx::B2DPolygon& rPolygon,
60  const attribute::SdrLineAttribute& rLine,
61  const attribute::SdrLineStartEndAttribute& rStroke);
62 
64  const basegfx::B2DPolyPolygon& rUnitPolyPolygon,
65  const basegfx::B2DHomMatrix& rObjectTransform,
66  const attribute::SdrTextAttribute& rText,
67  const attribute::SdrLineAttribute& rStroke,
68  bool bCellText,
69  bool bWordWrap);
70 
72  const Primitive2DContainer& rContent,
73  const attribute::SdrShadowAttribute& rShadow,
74  const basegfx::B2DHomMatrix& rObjectMatrix = basegfx::B2DHomMatrix());
75 
77  const Primitive2DContainer& rContent,
78  const attribute::SdrGlowAttribute& rGlow);
79 
81  const Primitive2DContainer& rContent,
82  sal_Int32 nRadius);
83 
84 } // end of namespace drawinglayer::primitive2d
85 
86 
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Primitive2DContainer createEmbeddedGlowPrimitive(const Primitive2DContainer &rContent, const attribute::SdrGlowAttribute &rGlow)
Primitive2DReference createTextPrimitive(const basegfx::B2DPolyPolygon &rUnitPolyPolygon, const basegfx::B2DHomMatrix &rObjectTransform, const attribute::SdrTextAttribute &rText, const attribute::SdrLineAttribute &rStroke, bool bCellText, bool bWordWrap)
Primitive2DContainer createEmbeddedShadowPrimitive(const Primitive2DContainer &rContent, const attribute::SdrShadowAttribute &rShadow, const basegfx::B2DHomMatrix &rObjectMatrix)
css::uno::Reference< css::graphic::XPrimitive2D > Primitive2DReference
Primitive2DContainer createEmbeddedSoftEdgePrimitive(const Primitive2DContainer &rContent, sal_Int32 nRadius)
#define SVXCORE_DLLPUBLIC
Definition: svxdllapi.h:35
Primitive2DReference createPolygonLinePrimitive(const basegfx::B2DPolygon &rPolygon, const attribute::SdrLineAttribute &rLine, const attribute::SdrLineStartEndAttribute &rStroke)
Primitive2DReference createPolyPolygonFillPrimitive(const basegfx::B2DPolyPolygon &rPolyPolygon, const attribute::SdrFillAttribute &rFill, const attribute::FillGradientAttribute &rFillGradient)