Some reorganization of source tree.

- Merged libglabels back into glabels.
- Created docs directory.
- Adjusted COPYING files to reflect above changes.
This commit is contained in:
Jim Evins
2017-01-14 01:38:20 -05:00
parent da3436a02a
commit 44aa31d074
75 changed files with 53 additions and 284 deletions
+70
View File
@@ -0,0 +1,70 @@
/* FrameEllipse.h
*
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
* gLabels-qt 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 3 of the License, or
* (at your option) any later version.
*
* gLabels-qt 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 gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef glabels_FrameEllipse_h
#define glabels_FrameEllipse_h
#include "Frame.h"
namespace glabels
{
class FrameEllipse : public Frame
{
public:
FrameEllipse( const Distance& w,
const Distance& h,
const Distance& waste,
const QString& id = "0" );
FrameEllipse( const FrameEllipse& other );
Frame* dup() const;
Distance waste() const;
Distance w() const;
Distance h() const;
QString sizeDescription( const Units& units ) const;
bool isSimilarTo( Frame* other ) const;
const QPainterPath& path() const;
const QPainterPath& clipPath() const;
QPainterPath marginPath( const Distance& size ) const;
private:
Distance mW;
Distance mH;
Distance mWaste;
QPainterPath mPath;
QPainterPath mClipPath;
};
}
#endif // glabels_FrameEllipse_h