Beispiel #1
0
MgObject* MgLayer::clone() const
{
    MgObject* p = new MgLayer(doc(), -1);
    p->copy(*this);
    return p;
}
Beispiel #2
0
MgObject* MgShapeDoc::clone() const
{
    MgObject* p = new MgShapeDoc();
    p->copy(*this);
    return p;
}