Searched refs:supportScalar (Results 1 – 6 of 6) sorted by relevance
/external/fonttools/Tests/varLib/ |
D | models_test.py | 2 normalizeLocation, supportScalar, VariationModel, VariationModelError) 31 assert supportScalar({}, {}) == 1.0 32 assert supportScalar({'wght':.2}, {}) == 1.0 33 assert supportScalar({'wght':.2}, {'wght':(0,2,3)}) == 0.1 34 assert supportScalar({'wght':2.5}, {'wght':(0,2,4)}) == 0.75
|
/external/fonttools/Lib/fontTools/varLib/ |
D | plot.py | 3 from fontTools.varLib.models import VariationModel, supportScalar 83 y = supportScalar({axis:x}, support) 110 z = supportScalar({ax1:x, ax2:y}, support) 118 z = supportScalar({ax1:x, ax2:y}, support)
|
D | models.py | 107 def supportScalar(location, support, ot=True): function 365 scalar = supportScalar(loc, self.supports[j]) 387 return [supportScalar(loc, support) for support in self.supports]
|
D | mutator.py | 13 supportScalar, 200 scalar = supportScalar(loc, var.axes) 218 scalar = supportScalar(loc, var.axes)
|
D | varStore.py | 3 from fontTools.varLib.models import supportScalar 159 scalar = supportScalar(self.location, support)
|
/external/fonttools/Lib/fontTools/varLib/instancer/ |
D | __init__.py | 75 from fontTools.varLib.models import supportScalar, normalizeValue, piecewiseLinearMap 209 scalar = supportScalar(location, support) 279 scalar = supportScalar({axisTag: limit}, {axisTag: (lower, peak, upper)}) 317 scalar1 = supportScalar({axisTag: limit}, {axisTag: (lower, peak, upper)})
|