2013-04-18 15:47:30 -04:00
|
|
|
/*
|
|
|
|
Copyright (C) 2013 Paul Davis
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "canvas/circle.h"
|
|
|
|
|
|
|
|
using namespace ArdourCanvas;
|
|
|
|
|
2014-06-12 14:53:44 -04:00
|
|
|
Circle::Circle (Canvas* c)
|
|
|
|
: Arc (c)
|
2013-04-18 15:47:30 -04:00
|
|
|
{
|
2013-04-18 21:29:13 -04:00
|
|
|
set_arc (360.0);
|
2013-04-18 15:47:30 -04:00
|
|
|
}
|
|
|
|
|
2014-06-12 14:53:44 -04:00
|
|
|
Circle::Circle (Group* g)
|
|
|
|
: Arc (g)
|
|
|
|
{
|
|
|
|
set_arc (360.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
|