Coverage Report

Created: 2025-12-31 10:39

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/include/drawinglayer/attribute/sdrallattribute3d.hxx
Line
Count
Source
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
#ifndef INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRALLATTRIBUTE3D_HXX
21
#define INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRALLATTRIBUTE3D_HXX
22
23
#include <drawinglayer/drawinglayerdllapi.h>
24
25
#include <drawinglayer/attribute/sdrlineattribute.hxx>
26
#include <drawinglayer/attribute/sdrfillattribute.hxx>
27
#include <drawinglayer/attribute/sdrlinestartendattribute.hxx>
28
#include <drawinglayer/attribute/sdrshadowattribute.hxx>
29
#include <drawinglayer/attribute/fillgradientattribute.hxx>
30
31
32
// predefines
33
34
35
namespace drawinglayer::attribute
36
    {
37
        class DRAWINGLAYER_DLLPUBLIC SdrLineFillShadowAttribute3D
38
        {
39
        private:
40
            const SdrLineAttribute          maLine;
41
            const SdrFillAttribute          maFill;
42
            const SdrLineStartEndAttribute  maLineStartEnd;
43
            const SdrShadowAttribute        maShadow;
44
            const FillGradientAttribute     maFillFloatTransGradient;
45
46
        public:
47
            /// constructors/assignmentoperator/destructor
48
            SdrLineFillShadowAttribute3D(
49
                SdrLineAttribute aLine,
50
                SdrFillAttribute aFill,
51
                SdrLineStartEndAttribute aLineStartEnd,
52
                SdrShadowAttribute aShadow,
53
                FillGradientAttribute aFillFloatTransGradient);
54
            SdrLineFillShadowAttribute3D();
55
56
            // compare operator
57
            bool operator==(const SdrLineFillShadowAttribute3D& rCandidate) const;
58
59
            // data read access
60
0
            const SdrLineAttribute& getLine() const { return maLine; }
61
0
            const SdrFillAttribute& getFill() const { return maFill; }
62
0
            const SdrShadowAttribute& getShadow() const { return maShadow; }
63
0
            const FillGradientAttribute& getFillFloatTransGradient() const { return maFillFloatTransGradient; }
64
        };
65
66
} // end of namespace drawinglayer::overlay
67
68
69
#endif // INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRALLATTRIBUTE3D_HXX
70
71
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */