Lines Matching refs:clone
62 Style* clone = new (nothrow) Style(*style);
63 if (!clone || !fStyles->AddStyle(clone)) {
64 delete clone;
72 VectorPath* clone = new (nothrow) VectorPath(*path);
73 if (!clone || !fPaths->AddPath(clone)) {
74 delete clone;
82 Shape* clone = new (nothrow) Shape(*shape);
83 if (!clone || !fShapes->AddShape(clone)) {
84 delete clone;
91 clone->SetStyle(fStyles->StyleAt(styleIndex));
93 clone->Paths()->MakeEmpty();
104 if (!clone->Paths()->AddPath(local)) {