• Ian Hickson's avatar
    applyPaintTransform() improvements · d1364643
    Ian Hickson authored
    Previously, applyPaintTransform() had to know how it was positioned in
    its parent, even though that's really the parent's responsibility.
    
    Now, applyPaintTransform() is given a child and applies the transform
    that it would give the child during paint.
    
    This makes it possible for applyPaintTransform() to work across
    coordinate system boundaries (e.g. box to sector, or view to box --
    previously, view to box only worked because we explicitly skipped that
    step -- since view doesn't actually apply a transform, it doesn't
    really matter).
    d1364643
viewport.dart 6.04 KB