Home
last modified time | relevance | path

Searched refs:nearestMultipleShortestRepr (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/fonttools/Lib/fontTools/misc/
H A DfixedTools.py20 from .roundTools import otRound, nearestMultipleShortestRepr
138 return nearestMultipleShortestRepr(value / scale, factor=1.0 / scale)
213 return nearestMultipleShortestRepr(value, factor=1.0 / scale)
H A DroundTools.py66 def nearestMultipleShortestRepr(value: float, factor: float) -> str: function
/aosp_15_r20/external/fonttools/Lib/fontTools/ttLib/tables/
H A DotConverters.py9 from fontTools.misc.roundTools import nearestMultipleShortestRepr, otRound
559 return nearestMultipleShortestRepr(value, cls.factor)