LibreOffice Module drawinglayer (master)
1
drawinglayer
source
attribute
sdrglowattribute.cxx
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
10
#include <
drawinglayer/attribute/sdrglowattribute.hxx
>
11
12
namespace
drawinglayer::attribute
13
{
14
SdrGlowAttribute::SdrGlowAttribute
(sal_Int32 nRadius,
const
Color
& rColor)
15
: m_nRadius(nRadius)
16
, m_color(rColor)
17
{
18
}
19
20
SdrGlowAttribute::SdrGlowAttribute
() =
default
;
21
22
SdrGlowAttribute::SdrGlowAttribute
(
const
SdrGlowAttribute
&) =
default
;
23
24
SdrGlowAttribute::SdrGlowAttribute
(
SdrGlowAttribute
&&) =
default
;
25
26
SdrGlowAttribute
&
SdrGlowAttribute::operator=
(
const
SdrGlowAttribute
&) =
default
;
27
28
SdrGlowAttribute
&
SdrGlowAttribute::operator=
(
SdrGlowAttribute
&&) =
default
;
29
30
bool
SdrGlowAttribute::operator==
(
const
SdrGlowAttribute
& rCandidate)
const
31
{
32
return
m_nRadius
== rCandidate.
m_nRadius
&&
m_color
== rCandidate.
m_color
;
33
}
34
35
}
// end of namespace drawinglayer::attribute
36
37
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Color
drawinglayer::attribute::SdrGlowAttribute
Definition:
sdrglowattribute.hxx:19
drawinglayer::attribute::SdrGlowAttribute::SdrGlowAttribute
SdrGlowAttribute()
drawinglayer::attribute::SdrGlowAttribute::operator==
bool operator==(const SdrGlowAttribute &rCandidate) const
Definition:
sdrglowattribute.cxx:30
drawinglayer::attribute::SdrGlowAttribute::operator=
SdrGlowAttribute & operator=(const SdrGlowAttribute &)
drawinglayer::attribute::SdrGlowAttribute::m_color
Color m_color
Definition:
sdrglowattribute.hxx:22
drawinglayer::attribute::SdrGlowAttribute::m_nRadius
sal_Int32 m_nRadius
Definition:
sdrglowattribute.hxx:21
drawinglayer::attribute
sdrglowattribute.hxx
Generated on Sun Jul 30 2023 04:42:52 for LibreOffice Module drawinglayer (master) by
1.9.3