HTML canvas image patterns created with context.createPattern(image, 'no-repeat') don't work after translating and rotating. E.g. p = ctx.createPattern(myImage, 'no-repeat'); ctx.translate(200, 0); ctx.rotate(Math.PI/8); ctx.fillStyle = p; ctx.fillRect(0,0, 215, 174); Patterns created with 'repeat' work.
Created attachment 17993 [details] Testcase for transformed image patterns
This might be a bug in CoreGraphics.
The magic values from <http://trac.webkit.org/projects/webkit/changeset/13384> do not work for the test case. Of course, the old values of 0, 0 do not work for other cases (as demonstrated by bug 7830).
Created attachment 19614 [details] Fixeration!
Landed r30905