fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / filter / source / svg / b2dellipse.cxx
blob4e6196f0e025c1ae13728fc16c05adcd72d034d8
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/.
8 */
9 #include "b2dellipse.hxx"
11 #include <basegfx/point/b2dpoint.hxx>
12 #include <basegfx/matrix/b2dhommatrix.hxx>
14 namespace basegfx
16 B2DEllipse::B2DEllipse(const basegfx::B2DPoint& rCenter, const basegfx::B2DTuple& rRadius)
17 : maCenter(rCenter), maRadius(rRadius)
21 B2DEllipse::~B2DEllipse()
25 bool B2DEllipse::operator==(const B2DEllipse& rEllipse) const
27 return (maCenter == rEllipse.maCenter) && (maRadius == rEllipse.maRadius);
30 bool B2DEllipse::operator!=(const B2DEllipse& rEllipse) const
32 return !(*this == rEllipse);
35 basegfx::B2DPoint B2DEllipse::getB2DEllipseCenter() const
37 return maCenter;
40 basegfx::B2DTuple B2DEllipse::getB2DEllipseRadius() const
42 return maRadius;
44 } // end of namespace basegfx
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */