| 273 | } |
| 274 | |
| 275 | void assignFrom(PrivateData* const other) |
| 276 | { |
| 277 | cleanup(); |
| 278 | image = other->image; |
| 279 | rotationAngle = other->rotationAngle; |
| 280 | callback = other->callback; |
| 281 | alwaysRepaint = other->alwaysRepaint; |
| 282 | isImgVertical = other->isImgVertical; |
| 283 | imgLayerWidth = other->imgLayerWidth; |
| 284 | imgLayerHeight = other->imgLayerHeight; |
| 285 | imgLayerCount = other->imgLayerCount; |
| 286 | isReady = false; |
| 287 | init(); |
| 288 | } |
| 289 | |
| 290 | ~PrivateData() |
| 291 | { |