# iup

fontTools.varLib.iup.iup_contour(deltas: _DeltaOrNoneSegment, coords: _PointSegment) → _DeltaSegment

  For the contour given in coords, interpolate any missing delta values in delta vector deltas.

  Returns fully filled-out delta vector.

fontTools.varLib.iup.iup_contour_optimize(deltas: _DeltaSegment, coords: _PointSegment, tolerance: Real = 0.0) → _DeltaOrNoneSegment

  For contour with coordinates coords, optimize a set of delta values deltas within error tolerance.

  Returns delta vector that has most number of None items instead of the input delta.

fontTools.varLib.iup.iup_delta(deltas: _DeltaOrNoneSegment, coords: _PointSegment, ends: _Endpoints) → _DeltaSegment

  For the outline given in coords, with contour endpoints given in sorted increasing order in ends, interpolate any missing delta values in delta vector deltas.

  Returns fully filled-out delta vector.

fontTools.varLib.iup.iup_delta_optimize(deltas: _DeltaSegment, coords: _PointSegment, ends: _Endpoints, tolerance: Real = 0.0) → _DeltaOrNoneSegment

  For the outline given in coords, with contour endpoints given in sorted increasing order in ends, optimize a set of delta values deltas within error tolerance.

  Returns delta vector that has most number of None items instead of the input delta.