code: function transformArc(arc, scale, translate) {
    let x = 0;
    let y = 0;
    for (let i = 0, ii = arc.length; i < ii; ++i) {
      const vertex = arc[i];
      x += vertex[0];
      y += vertex[1];
      vertex[0] = x;
      vertex[1] = y;
      transformVertex(vertex, scale, translate);
    }
  }
docs: Apply a linear transform to an arc.  The provided arc is modified in place.
  
  @param {Array<import("../coordinate.js").Coordinate>} arc Arc.
  @param {Array<number>} scale Scale for each dimension.
  @param {Array<number>} translate Translation for each dimension.