Make GetCenter() in arcs return the center of the arc

Currently GetPosition() calculates the center of the arc
This commit is contained in:
Roberto Fernandez Bautista 2020-10-08 00:09:16 +01:00 committed by Jon Evans
parent d9485129c8
commit 09ac5e0fdc
1 changed files with 2 additions and 0 deletions

View File

@ -308,6 +308,8 @@ public:
virtual wxPoint GetPosition() const override;
virtual wxPoint GetCenter() const override { return GetPosition(); }
double GetRadius() const;
double GetAngle() const;
double GetArcAngleStart() const;