MCPcopy Create free account
hub / github.com/DISTRHO/DPF / assignFrom

Function assignFrom

dgl/src/ImageBaseWidgets.cpp:275–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 2

initFunction · 0.85
getSizeMethod · 0.45

Tested by

no test coverage detected