Added initial implementation of Template.

This commit is contained in:
Jim Evins
2013-11-02 17:10:49 -04:00
parent be55bebc50
commit 262932a4c7
16 changed files with 416 additions and 60 deletions
+8 -1
View File
@@ -37,6 +37,13 @@ namespace libglabels
{
}
FrameRound( const FrameRound &other )
: mR(other.mR), mWaste(other.mWaste), Frame(other)
{
}
Frame *dup() const { return new FrameRound( *this ); }
inline double r() const { return mR; }
inline double waste() const { return mWaste; }
@@ -44,7 +51,7 @@ namespace libglabels
double h() const { return 2*mR; }
const QString &sizeDescription( Units *units );
bool isSimilar( Frame *b ) const;
bool isSimilarTo( Frame *other ) const;
private: