MCPcopy Create free account
hub / github.com/KDE/labplot / handleResize

Method handleResize

src/backend/worksheet/Image.cpp:102–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void Image::handleResize(double /*horizontalRatio*/, double /*verticalRatio*/, bool /*pageResize*/) {
103 DEBUG(Q_FUNC_INFO);
104 // Q_D(Image);
105
106 // double ratio = 0;
107 // if (horizontalRatio > 1.0 || verticalRatio > 1.0)
108 // ratio = std::max(horizontalRatio, verticalRatio);
109 // else
110 // ratio = std::min(horizontalRatio, verticalRatio);
111}
112
113/*!
114 Returns an icon to be used in the project explorer.

Callers 1

updatePageRectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected