MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / slotSetZoomFactor

Method slotSetZoomFactor

Src/FrmViewer.cpp:306–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306int CFrmViewer::slotSetZoomFactor(double newZoomFactor)
307{
308 if(newZoomFactor < 0) return -1;
309 if (qFuzzyCompare(m_dbZoomFactor, newZoomFactor))
310 return 0;
311 m_dbZoomFactor = newZoomFactor;
312 return 0;
313}
314
315int CFrmViewer::ReSize(int width, int height)
316{

Callers 2

LoadAdaptWindowsMethod · 0.80
slotValueChangedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected