blendPoints function

  1. @Deprecated('Utility function that should not be public.')
_PathOffset blendPoints(
  1. _PathOffset p1,
  2. _PathOffset p2
)

Blend the points with a ratio (1/3):(2/3).

Implementation

@Deprecated('Utility function that should not be public.')
// TODO(kevmoo): Remove this in the next release https://github.com/flutter/flutter/issues/157940
_PathOffset blendPoints(_PathOffset p1, _PathOffset p2) {
  return _PathOffset((p1.dx + 2 * p2.dx) * _kOneOverThree,
      (p1.dy + 2 * p2.dy) * _kOneOverThree);
}