static
| 35 | |
| 36 | // static |
| 37 | std::shared_ptr<Cel> Cel::createCopy(std::shared_ptr<const Cel> other) |
| 38 | { |
| 39 | auto cel = std::make_shared<Cel>(other->frame(), ImageRef(Image::createCopy(other->image()))); |
| 40 | cel->setPosition(other->position()); |
| 41 | cel->setOpacity(other->opacity()); |
| 42 | return cel; |
| 43 | } |
| 44 | |
| 45 | // static |
| 46 | std::shared_ptr<Cel> Cel::createLink(std::shared_ptr<const Cel> other) |
nothing calls this directly
no test coverage detected