Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/designspaceLib/
D__init__.py478 dimElement.attrib['xvalue'] = self.intOrFloat(dimensionValue[0])
479 dimElement.attrib['yvalue'] = self.intOrFloat(dimensionValue[1])
481 dimElement.attrib['xvalue'] = self.intOrFloat(dimensionValue)
485 def intOrFloat(self, num): member in BaseDocWriter
505 conditionElement.attrib['minimum'] = self.intOrFloat(cond.get('minimum'))
507 conditionElement.attrib['maximum'] = self.intOrFloat(cond.get('maximum'))
524 axisElement.attrib['minimum'] = self.intOrFloat(axisObject.minimum)
525 axisElement.attrib['maximum'] = self.intOrFloat(axisObject.maximum)
526 axisElement.attrib['default'] = self.intOrFloat(axisObject.default)
537 mapElement.attrib['input'] = self.intOrFloat(inputValue)
[all …]