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);
  }
}
/**
 * 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.
 */
Apply a linear transform to an arc.  The provided arc is modified in place.
@param {Array} arc Arc.
@param {Array} scale Scale for each dimension.
@param {Array} translate Translation for each dimension.
Apply a linear transform to an arc . The provided arc is modified in place . @param { Array } arc Arc . @param { Array } scale Scale for each dimension . @param { Array } translate Translation for each dimension .
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);
  }
}
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 ) ; } }
Apply a linear transform to an arc.
Apply a linear transform to an arc .