Skip to content
  • Keith Packard's avatar
    Avoid overflow in PictureTransformPoint. Fix PictureTransformIsIdentity. · fa6a1df2
    Keith Packard authored
    PictureTransformPoint computes homogeneous coordinates internally, but fails
    to handle intermediate values larger than 16.16. Use 64 bit intermediate
    values while computing the final result at 16.16 and only complain if that
    result is too large.
    
    PictureTransformIsIdentity was completely wrong -- it was not checking for
    identity transforms at all.
    fa6a1df2