blendPoints static method
_PathOffset
blendPoints(
- _PathOffset p1,
- _PathOffset p2
Blend the points with a ratio (1/3):(2/3).
Implementation
static _PathOffset blendPoints(_PathOffset p1, _PathOffset p2) {
return _PathOffset((p1.dx + 2 * p2.dx) * _kOneOverThree,
(p1.dy + 2 * p2.dy) * _kOneOverThree);
}