Lines Matching refs:fRatio
203 double fRatio, fTmp; in SetDeviceWindow() local
212 fRatio = (double) nNewW / nOldW; in SetDeviceWindow()
213 aViewWin.X *= fRatio; in SetDeviceWindow()
214 aViewWin.W *= fRatio; in SetDeviceWindow()
215 fRatio = (double) nNewH / nOldH; in SetDeviceWindow()
216 aViewWin.Y *= fRatio; in SetDeviceWindow()
217 aViewWin.H *= fRatio; in SetDeviceWindow()
222 fRatio = (double) nNewH / nNewW; in SetDeviceWindow()
224 aViewWin.H = aViewWin.W * fRatio; in SetDeviceWindow()
230 fRatio = (double) nNewW / nNewH; in SetDeviceWindow()
232 aViewWin.W = aViewWin.H * fRatio; in SetDeviceWindow()