Searched refs:shrinkScale (Results 1 - 1 of 1) sorted by relevance

/haiku/src/apps/mediaplayer/
H A DMainWin.cpp2130 float shrinkScale; local
2132 shrinkScale = (float)(width - widthDiff) / width;
2134 shrinkScale = (float)(height - heightDiff) / height;
2137 width = lround(width * shrinkScale);
2138 height = lround(height * shrinkScale);

Completed in 127 milliseconds