• Properly blur box shadows, and correctly calculate the new texture

    coordinates when clipping rectangles.
    
    We use a closed form formula for computing Gaussian blurs of a box
    shadow. Assuming the blur radius is less than the size of the box, the
    maximum per-pixel error from this formula has been observed to be less
    than 3% in practice. It avoids the creation of intermediate textures.
    pcwalton committed Nov 5, 2015