W3C home > Mailing lists > Public > www-svg@w3.org > October 2011

Re: patternTransform

From: Dirk Schulze <vbs85@gmx.de>
Date: Mon, 3 Oct 2011 12:44:23 +0200
Cc: <www-svg@w3.org>
Message-Id: <00FE1888-A912-4D4F-8C35-19FC27501CCC@gmx.de>
To: Domenico Strazzullo <nst@dotuscomus.com>

Am 03.10.2011 um 12:14 schrieb Domenico Strazzullo:

> I read in the specification that the patternTransform attribute:
> "contains the definition of an optional additional transformation from the pattern coordinate system onto the target coordinate system . This additional transformation matrix is post-multiplied ",
> and:
> "If attribute 'patternTransform' is not specified, then the effect is as if an identity transform were specified. ".
> What's an identity transform? Does it mean that if patternTransform is specified,  implementations are allowed to bitmap the tile and re-sample it? That's the impression I have with Opera, Firefox and Webkit. From what I can see, only IE9 seems to apply transformations correctly. The result is kind of acceptable in Opera and Firefox, but really bizarre in Webkit.
> You can check some results here: http://dotuscomus.com/pergola/download/pergola_1.3.6/ExamplesHTML/Patterns/patterns.html
> Domenico 

You should specify your question. I assume you mean the pixelation on the pattern tiles. IIRC all implementations try to avoid pixelated tiles. And normally it works quite well. I haven't checked why Opera, Firefox and WebKit fail on your example yet. But ideally patterns should never look pixelated, independent of the pattern transform, viewBox or other transformations. In realty all these implementations work with bitmaped tiles. Thats the way most (all?) graphic libraries work.

Received on Monday, 3 October 2011 10:45:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:32 UTC