Home
last modified time | relevance | path

Searched refs:tupleClass (Results 1 – 2 of 2) sorted by relevance

/external/fonttools/Lib/fontTools/colorLib/
Dtable_builder.py53 def convertTupleClass(tupleClass, value): argument
54 if isinstance(value, tupleClass):
57 return tupleClass(*value)
58 return tupleClass(value)
100 tupleClass = getattr(converter, "tupleClass", None)
103 if tupleClass:
104 value = convertTupleClass(tupleClass, value)
213 tupleClass = getattr(converter, "tupleClass", None)
215 if tupleClass:
/external/fonttools/Lib/fontTools/ttLib/tables/
DotConverters.py1649 tupleClass = NotImplemented variable in _NamedTupleConverter
1656 assert _issubclass_namedtuple(self.tupleClass), repr(self.tupleClass)
1657 assert len(self.tupleClass._fields) == len(self.converterClasses)
1662 for name, klass in zip(self.tupleClass._fields, self.converterClasses)
1673 return self.tupleClass(**kwargs)
1711 return self.tupleClass(**kwargs)
1715 tupleClass = VariableFloat variable in VarFixed
1720 tupleClass = VariableFloat variable in VarF2Dot14
1725 tupleClass = VariableInt variable in VarInt16
1730 tupleClass = VariableInt variable in VarUInt16