The spread pixels extend to both sides of the line. Thus, for a given data point on the line, the total number of pixels sampled (i.e., width of the line profile) is 1 + 2*spread. The outline of the line profile shows all pixels included in the average.