bump product version to 4.1.6.2
[LibreOffice.git] / filter / source / svg / b2dellipse.hxx
blob34b2054eb517a76ecd923dad2c3afe1607b8a089
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 #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>
22 namespace basegfx
24 class B2DPoint;
25 } // end of namespace basegfx
27 namespace basegfx
29 class B2DEllipse
31 private:
32 const basegfx::B2DPoint maCenter;
33 const basegfx::B2DTuple maRadius;
35 public:
36 B2DEllipse(const B2DEllipse& rEllipse);
37 B2DEllipse(const basegfx::B2DPoint& rCenter, const basegfx::B2DTuple& rRadius);
38 ~B2DEllipse();
40 // assignment operator
41 B2DEllipse& operator=(const B2DEllipse& rEllipse);
43 // compare operators
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: */