- From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
- Date: Sat, 25 Jun 2016 12:18:40 +0200
- To: developer@sleepingdog.org.uk, www-svg@w3.org
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
Received on Saturday, 25 June 2016 10:19:40 UTC