MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / scaleUp

Method scaleUp

QtNodeEditor/src/FlowView.cpp:223–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221
222
223void
224FlowView::
225scaleUp()
226{
227 double const step = 1.1;
228 double const factor = std::pow(step, 1.0);
229
230 QTransform t = transform();
231
232 if (t.m11() > 2.0)
233 return;
234
235 scale(factor, factor);
236}
237
238
239void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected