RE: Some questions regarding transformations in SVG

Hello,

what is mentioned in the CSS drafts, is not necessarily always useful for
graphics or SVG authors, for example what is mentioned about animation 
of a matrix type (a general affine transformation) ist still borked by 
contraproductive 'decompositions', authors cannot simply switch off.
Unfortunately in SVG 1.1 and tiny 1.2 one cannot animate the
matrix type at all, therefore one still needs to simulate the effect
using some frame based animation, of example by animating
xlink:href from use to provide 25 static transformed objects per
second, resulting in quite big files to solve a simple task.

Obviously due to the limited 3D, projection and non affine transformation
capabilities of SVG, one has to work around with own programs anyway
(typically such approximations generate quite big files).
Use case/declarative example with a simulation/approximation 
of a combination of  3D-tranformation, non-affine transformation/projection 
and reordering of content (replacement for z-index):
https://upload.wikimedia.org/wikibooks/de/f/f8/SVGzeichenreihenfolge06.svg

With some mathematical capabilities one can simulate a lot of missing
issues of SVG (or borked features), however, many authors might want
to have access to this, which do not have such capabilities or specific
scripts or programs to do the job.
Using JavaScript or ecmascript to simulate missing features, is no
solution as well, just because such user sided scripts are just for
decoration like CSS, but especially for graphics typically authors
are more interested in content, therefore a declarative solution
is required, respectively the workaround is done for example with
PHP scripts from the server.


Olaf

Received on Monday, 17 November 2014 12:17:20 UTC