Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/varLib/
Dmodels.py192 def __init__(self, locations, axisOrder=None): argument
197 self.axisOrder = axisOrder if axisOrder is not None else []
200 keyFunc = self.getMasterLocationsSortKeyFunc(locations, axisOrder=self.axisOrder)
216 subModel = VariationModel(subList(key, self.origLocations), self.axisOrder)
221 def getMasterLocationsSortKeyFunc(locations, axisOrder=[]): argument
236 def getKey(axisPoints, axisOrder): argument
242 orderedAxes = [axis for axis in axisOrder if axis in loc]
243 orderedAxes.extend([axis for axis in sorted(loc.keys()) if axis not in axisOrder])
247 …tuple(axisOrder.index(axis) if axis in axisOrder else 0x10000 for axis in orderedAxes), # Next, by…
254 ret = getKey(axisPoints, axisOrder)
D__init__.py835 model = models.VariationModel(normalized_master_locs, axisOrder=axisTags)
/external/fonttools/Tests/varLib/
Dmodels_test.py140 self, locations, axisOrder, sortedLocs, supports, deltaWeights argument
142 model = VariationModel(locations, axisOrder=axisOrder)