Line data Source code
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 : #include "b2dellipse.hxx"
10 :
11 : #include <basegfx/point/b2dpoint.hxx>
12 : #include <basegfx/matrix/b2dhommatrix.hxx>
13 :
14 : namespace basegfx
15 : {
16 0 : B2DEllipse::B2DEllipse(const basegfx::B2DPoint& rCenter, const basegfx::B2DTuple& rRadius)
17 0 : : maCenter(rCenter), maRadius(rRadius)
18 : {
19 0 : }
20 :
21 0 : B2DEllipse::~B2DEllipse()
22 : {
23 0 : }
24 :
25 0 : bool B2DEllipse::operator==(const B2DEllipse& rEllipse) const
26 : {
27 0 : return (maCenter == rEllipse.maCenter) && (maRadius == rEllipse.maRadius);
28 : }
29 :
30 0 : bool B2DEllipse::operator!=(const B2DEllipse& rEllipse) const
31 : {
32 0 : return !(*this == rEllipse);
33 : }
34 :
35 :
36 : } // end of namespace basegfx
37 :
38 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|