>>>>> "AS" == Arvind Sareen <[EMAIL PROTECTED]> writes:
AS> Hi I want to use transform function so that y-axis gets inverted.
AS> The problem is that the text also gets inverted. For example <g
AS> id ="Cities01" transform="scale(1,-1)"
AS>
style="fill:RGB(255,0,0);stroke:RGB(255,0,0);font-family:Verdana;font-size:2000;writing-mode:tb-lr">
AS> <circle id = "Butte" cx="365099" cy="199451.67" r="1000" /> <text
AS> id="CityText" x="365099" y ="199451.67"
AS> style="fill:RGB(255,0,200);stroke:none"> <tspan
AS> dx="lem">Butte</tspan></text> </g>
AS> In this I want to invert the y-axis and not the text. But the
AS> text is also getting inverted. Can anybody provide me with the
AS> solution or workaround
A workaround is to apply an additional 'scale(1,-1)' to the text
elements.
However I would strongly suggest that instead the code that
generates the SVG from the GIS data simply negate the y component.
This avoids the need to muck with transforms and will result in
cleaner SVG.
After all in the world of data format translations this represents
a very minor tweak to the data.
Good luck!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]