Searched refs:roundForImpreciseConversion (Results 1 – 3 of 3) sorted by relevance
50 template<typename T> inline T roundForImpreciseConversion(double value) in roundForImpreciseConversion() function56 template<> inline float roundForImpreciseConversion(double value) in roundForImpreciseConversion() function
522 return roundForImpreciseConversion<int>(computeLengthDouble(conversionData)); in computeLength()527 return roundForImpreciseConversion<unsigned>(computeLengthDouble(conversionData)); in computeLength()537 return roundForImpreciseConversion<short>(computeLengthDouble(conversionData)); in computeLength()542 return roundForImpreciseConversion<unsigned short>(computeLengthDouble(conversionData)); in computeLength()
1792 return roundForImpreciseConversion<int>(value / zoomFactor); in adjustForAbsoluteZoom()