Searched refs:fDiff (Results 1 – 2 of 2) sorted by relevance
374 FX_FLOAT fDiff = src.left - src.right; in MatchRect() local375 a = FXSYS_fabs(fDiff) < 0.001f ? 1 : (dest.left - dest.right) / fDiff; in MatchRect()376 fDiff = src.bottom - src.top; in MatchRect()377 d = FXSYS_fabs(fDiff) < 0.001f ? 1 : (dest.bottom - dest.top) / fDiff; in MatchRect()
393 FX_FLOAT fDiff = fLength - fThumbSize; in CalcThumbButtonRect() local394 if (fDiff < 0.0f) { in CalcThumbButtonRect()395 fDiff = 0.0f; in CalcThumbButtonRect()407 FX_FLOAT iPos = fDiff * (fTrackPos - m_fRangeMin) / fRange; in CalcThumbButtonRect()431 FX_FLOAT iPos = fSize + fDiff * (fTrackPos - m_fRangeMin) / fRange; in CalcThumbButtonRect()