mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-20 02:30:41 +02:00
Previously we were generating an image object with the desired transform and then a pattern with only a translation. This means, the pattern was alwasys axis-aligned. Obviously this does not work correctly with repeated rotated patterns. We now use an identity matrix for the image and put all the pattern transformation (well, it's inverse) into the pattern. This fixes the issue nicely. The surface-pattern test is still failing even with a reference image, because the gs rendering of the normal case and the device-offset=25 case are different and both have seams.
2.5 KiB
140x140px
2.5 KiB
140x140px