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 #ifndef _BASEGFX_B2DELLIPSE_HXX
10 #define _BASEGFX_B2DELLIPSE_HXX
12 #include <sal/types.h>
14 #include <o3tl/cow_wrapper.hxx>
16 #include <basegfx/point/b2dpoint.hxx>
18 #include <basegfx/tuple/b2dtuple.hxx>
20 #include <basegfx/vector/b2enums.hxx>
25 } // end of namespace basegfx
32 const basegfx::B2DPoint maCenter
;
33 const basegfx::B2DTuple maRadius
;
36 B2DEllipse(const B2DEllipse
& rEllipse
);
37 B2DEllipse(const basegfx::B2DPoint
& rCenter
, const basegfx::B2DTuple
& rRadius
);
40 // assignment operator
41 B2DEllipse
& operator=(const B2DEllipse
& rEllipse
);
44 bool operator==(const B2DEllipse
& rEllipse
) const;
45 bool operator!=(const B2DEllipse
& rEllipse
) const;
47 // Coordinate interface
48 basegfx::B2DPoint
getB2DEllipseCenter() const;
49 basegfx::B2DTuple
getB2DEllipseRadius() const;
51 } // end of namespace basegfx
53 #endif /* _BASEGFX_B2DELLIPSE_HXX */
55 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */