cubicTo method

  1. @override
void cubicTo(
  1. double ox,
  2. double oy,
  3. double ix,
  4. double iy,
  5. double x,
  6. double y,
)
override

Implementation

@override
void cubicTo(double ox, double oy, double ix, double iy, double x, double y) {
  if (!_needsTransform) {
    super.cubicTo(ox, oy, ix, iy, x, y);
    return;
  }
  var o = _transform * Vec2D.fromValues(ox, oy);
  var i = _transform * Vec2D.fromValues(ix, iy);
  var p = _transform * Vec2D.fromValues(x, y);
  super.cubicTo(o.x, o.y, i.x, i.y, p.x, p.y);
}