Home
last modified time | relevance | path

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

/external/fonttools/Tests/varLib/instancer/
Dnames_test.py273 axisValue = otTables.AxisValue()
274 axisValue.Format = 4
275 axisValue.Flags = 0
277 axisValue.ValueNameID = 297
278 axisValue.AxisValueRecord = []
285 axisValue.AxisValueRecord.append(rec)
286 stat.AxisValueArray.AxisValue.append(axisValue)
301 for axisValue in stat.AxisValueArray.AxisValue:
302 axisValue.Flags |= instancer.names.ELIDABLE_AXIS_VALUE_NAME
Dinstancer_test.py1261 for axisValue in stat.AxisValueArray.AxisValue:
1262 if axisValue.Format == 1:
1263 result.append((axes[axisValue.AxisIndex].AxisTag, axisValue.Value))
1264 elif axisValue.Format == 3:
1267 axes[axisValue.AxisIndex].AxisTag,
1268 (axisValue.Value, axisValue.LinkedValue),
1271 elif axisValue.Format == 2:
1274 axes[axisValue.AxisIndex].AxisTag,
1276 axisValue.RangeMinValue,
1277 axisValue.NominalValue,
[all …]
/external/fonttools/Lib/fontTools/varLib/instancer/
Dnames.py141 axisValue = axisValueTable.NominalValue
143 axisValue = axisValueTable.Value
144 if axisTag in axisCoords and axisValue == axisCoords[axisTag]:
189 return [axisValue for _, axisValue in sorted(results)]
D__init__.py1021 def isAxisValueOutsideLimits(axisTag, axisValue): argument
1022 if axisTag in location and axisValue != location[axisTag]:
1026 if axisValue < axisRange.minimum or axisValue > axisRange.maximum:
1039 axisValue = axisValueTable.NominalValue
1041 axisValue = axisValueTable.Value
1042 if isAxisValueOutsideLimits(axisTag, axisValue):
1050 axisValue = rec.Value
1051 if isAxisValueOutsideLimits(axisTag, axisValue):
/external/skia/src/ports/
DSkFontHost_FreeType.cpp2147 const SkScalar axisValue = SkTPin(coordinate.value, axisMin, axisMax); in computeAxisValues() local
2148 axisValues[i] = SkScalarToFixed(axisValue); in computeAxisValues()
2160 const SkScalar axisValue = SkTPin(coordinate.value, axisMin, axisMax); in computeAxisValues() local
2161 if (coordinate.value != axisValue) { in computeAxisValues()
2170 SkScalarToDouble(axisValue)); in computeAxisValues()
2172 axisValues[i] = SkScalarToFixed(axisValue); in computeAxisValues()
/external/skqp/src/ports/
DSkFontHost_mac.cpp1888 SkFixed* axisValue; member
1930 self->axisValue[keyIndex] = SkDoubleToFixed(valueDouble); in set_non_default_axes()
2028 CFTypeRef axisValue = CFDictionaryGetValue(cgVariations, axisName); in ct_variation_from_cg_variation() local
2029 if (!axisValue || CFGetTypeID(axisValue) != CFNumberGetTypeID()) { in ct_variation_from_cg_variation()
2038 CFDictionaryAddValue(ctVariations.get(), axisTag, axisValue); in ct_variation_from_cg_variation()
DSkFontHost_FreeType.cpp1965 const SkScalar axisValue = SkTPin(coordinate.value, axisMin, axisMax); in computeAxisValues() local
1966 if (coordinate.value != axisValue) { in computeAxisValues()
1975 SkScalarToDouble(axisValue)); in computeAxisValues()
1977 axisValues[i] = SkScalarToFixed(axisValue); in computeAxisValues()
/external/fonttools/Lib/fontTools/designspaceLib/
D__init__.py470 for axisName, axisValue in locationObject.items():
473 validatedLocation[axisName] = axisValue