Re: Declarative reflection transformation through a given axis

"Dr. Olaf Hoffmann" <[email protected]> Sat, 25 Jun 2016 12:18:40 +0200
Newsgroups gmane.comp.web.svg
Message-ID <293372361.vDyJy9tKSz@ap03>
Hello,

using SVG 1.1 or SVG tiny 1.2 this is either a specific transformation of the 
matrix type or a combination of rotate, translate, scale, translate, rotate.
The CSS draft, the SVG 2 draft now refers to for transforms, does not provide 
a specific simpler method for this as well, but it has a transform-origin 
property, therefore noting this, you only need rotate, scale, rotate.

For example translate and rotate the object in such a way, that the mirror 
axis becomes the x-axis, apply scale(1 -1), rotate and translate back.

Presumably to do this with XSLT you need an appropriate mathematical 
representation of the mirror axis - this might be included as metadata 
subelements in the document or directly as a line with those transformations 
applied and indicated somehow with meta information to be the mirror axis.


Olaf