Initial framework for saving/restoring model state.
This commit is contained in:
@@ -60,6 +60,18 @@ Outline::Outline( LabelModelObject* owner )
|
||||
}
|
||||
|
||||
|
||||
///
|
||||
/// Outline Copy constructor
|
||||
///
|
||||
Outline::Outline( const Outline* outline, LabelModelObject* newOwner )
|
||||
: mOwner(newOwner)
|
||||
{
|
||||
mDashes = outline->mDashes;
|
||||
mPen1 = outline->mPen1;
|
||||
mPen2 = outline->mPen2;
|
||||
}
|
||||
|
||||
|
||||
///
|
||||
/// Outline Destructor
|
||||
///
|
||||
@@ -68,6 +80,15 @@ Outline::~Outline()
|
||||
}
|
||||
|
||||
|
||||
///
|
||||
/// Clone Outline
|
||||
///
|
||||
Outline* Outline::clone( LabelModelObject* newOwner ) const
|
||||
{
|
||||
return new Outline( this, newOwner );
|
||||
}
|
||||
|
||||
|
||||
///
|
||||
/// Draw Outline
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user