Searched defs:dGuestAspectRatio (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/
H A DUIGMachinePreview.cpp519 const double dGuestAspectRatio = (double)guestSize.width() / guestSize.height(); local
522 if (dGuestAspectRatio >= dHostAspectRatio)
527 iHeight = (double)iWidth / dGuestAspectRatio;
537 iWidth = (double)iHeight * dGuestAspectRatio;

Completed in 33 milliseconds