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

Method SetZoomFactor

Src/FrmViewerOpenGL.cpp:166–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166int CFrmViewerOpenGL::SetZoomFactor(double newZoomFactor)
167{
168 if(newZoomFactor < 0) return -1;
169 if (qFuzzyCompare(m_dbZoomFactor, newZoomFactor))
170 return 0;
171 m_dbZoomFactor = newZoomFactor;
172 return 0;
173}
174
175QSize CFrmViewerOpenGL::GetDesktopSize()
176{

Callers 1

SaveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected