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

/haiku/src/preferences/backgrounds/
H A DBackgroundsView.h97 float fYRatio; member in class:Preview
H A DBackgroundsView.cpp1215 fYRatio = Bounds().Height() / fMode.virtual_height;
1247 y = fPoint.y + (point.y - fOldPoint.y) / fYRatio;
1277 fOldPoint.y = point.y - (y - fPoint.y) * fYRatio;
1282 fOldPoint.y = point.y - (y - fPoint.y) * fYRatio;

Completed in 86 milliseconds