Bug 772726. Part 10: Reduce scale to avoid floating-point accuracy errors that cause small artifacts with D2D Azure content drawing. r=jwatt

This commit is contained in:
Robert O'Callahan 2012-09-08 00:43:34 +12:00
parent 632c91ff04
commit 0f5bc3997c

View File

@ -14,6 +14,6 @@
</pattern>
</defs>
<rect width="100%" height="100%" fill="lime" />
<rect transform="scale(100)" x=".2" y=".2" width="1" height="0.5" fill="red" />
<rect transform="scale(100)" x=".2" y=".2" width="1" height="0.5" fill="url(#test)" />
<rect transform="scale(10)" x=".2" y=".2" width="1" height="0.5" fill="red" />
<rect transform="scale(10)" x=".2" y=".2" width="1" height="0.5" fill="url(#test)" />
</svg>

Before

Width:  |  Height:  |  Size: 739 B

After

Width:  |  Height:  |  Size: 737 B