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
29namespace basegfx {
30 class B2DPolygon;
31 class B2DPolyPolygon;
32 class B2DHomMatrix;
33}
34
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 Primitive2DContainer&& rContent,
73 const attribute::SdrShadowAttribute& rShadow,
74 const basegfx::B2DHomMatrix& rObjectMatrix = basegfx::B2DHomMatrix(),
75 const Primitive2DContainer* pContentForShadow = nullptr);
76
78 Primitive2DContainer&& rContent,
79 const attribute::SdrGlowAttribute& rGlow);
80
82 Primitive2DContainer&& aContent,
83 sal_Int32 nRadius);
84
85} // end of namespace drawinglayer::primitive2d
86
87
88/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Primitive2DContainer createEmbeddedSoftEdgePrimitive(Primitive2DContainer &&aContent, sal_Int32 nRadius)
Primitive2DContainer createEmbeddedShadowPrimitive(Primitive2DContainer &&rContent, const attribute::SdrShadowAttribute &rShadow, const basegfx::B2DHomMatrix &rObjectMatrix, const Primitive2DContainer *pContentForShadow)
Primitive2DReference createPolygonLinePrimitive(const basegfx::B2DPolygon &rPolygon, const attribute::SdrLineAttribute &rLine, const attribute::SdrLineStartEndAttribute &rStroke)
Primitive2DReference createTextPrimitive(const basegfx::B2DPolyPolygon &rUnitPolyPolygon, const basegfx::B2DHomMatrix &rObjectTransform, const attribute::SdrTextAttribute &rText, const attribute::SdrLineAttribute &rStroke, bool bCellText, bool bWordWrap)
Primitive2DReference createPolyPolygonFillPrimitive(const basegfx::B2DPolyPolygon &rPolyPolygon, const attribute::SdrFillAttribute &rFill, const attribute::FillGradientAttribute &rFillGradient)
Primitive2DContainer createEmbeddedGlowPrimitive(Primitive2DContainer &&rContent, const attribute::SdrGlowAttribute &rGlow)
#define SVXCORE_DLLPUBLIC
Definition: svxdllapi.h:35