Skia samples four points, and derives the weights for each sample by evaluating the cubic at four uniformly spaced points (based on the sub-pixel offset of the sample location). Another way of looking at this is as four cubic functions over [0,1], where each one is a disjoint section of the overall function, shifted to cover the [0,1] range: