Function LineSpan.accumulation

Adds up either positions or widths to a wrapLine

int accumulation(
  int wrapLine,
  bool wrapPointInfo
);