[BZ#641823] transform="rotate(x)" causes incorrect gradient rendering.
Submitted by Gary van der Merwe
Created attachment 180378 minimal test case
If you have a svg file with a with a element that uses a gradient, and it has a rotate transform, then the offset of the gradient is rendered incorrectly.
I've attached a minimal test case. The offsets are correct at 0° multiples of 90°. It is worst at multiples 45°.
My use case is this file: http://en.wikipedia.org/wiki/File:Rowing_Blade_Template.svg, and the many files based on it. Sometimes they are rendered correctly, e.g.: http://en.wikipedia.org/wiki/File:Josephine_Butler_College_Boat_Club_Blade.svg, but if I download them, and run convert manually on my computer, then they are allways wrong. So I think that this was not a bug in some version of rsvg installed on wikipedia in the past, and they are showing a cached version.