2013-04-18 15:47:30 -04:00
|
|
|
/*
|
2019-08-02 22:40:09 -04:00
|
|
|
* Copyright (C) 2013-2014 Paul Davis <paul@linuxaudiosystems.com>
|
|
|
|
*
|
|
|
|
* 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.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
2013-04-18 15:47:30 -04:00
|
|
|
|
|
|
|
#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-21 11:43:42 -04:00
|
|
|
Circle::Circle (Item * parent)
|
|
|
|
: Arc (parent)
|
2014-06-12 14:53:44 -04:00
|
|
|
{
|
|
|
|
set_arc (360.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
|