1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
9 #include "b2dellipse.hxx"
11 #include <basegfx/point/b2dpoint.hxx>
12 #include <basegfx/matrix/b2dhommatrix.hxx>
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
);
36 } // end of namespace basegfx
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */