After the image clamp-to-edge code was inserted affine images are misrendered. The current image drawing code fills the bounding box that covers the image area with samples taken from the image. This means that images that have a non-rectilinear transform (non-90-degree rotation or shearing) will "leak". We should use the path scanning logic to fill a rectangular path with image samples instead, and then we will also get antialiased image edges as an added bonus.
*** Bug 690752 has been marked as a duplicate of this bug. ***