Archie Cobbs:
> 
> On 9/26/07, Heiska Anssi <[EMAIL PROTECTED]> wrote:
> Thanks, this does exactly what I asked.
> 
> ...but it seems that I couldn't describe my problem properly (and the
> examample was bad). Actually, what I meant was I want to mirror
letters
> upside down (by x-axis). Using previous example: 
> 
> +--------+
> |  AWP   |
> |        |
> +--------+
> 
> Needs to be:
> 
> +--------+
> |  VMb   |    // V is A, M is W and b is P upside down
> |        |
> +--------+
> 
> Mirroring in SVG is also easy.. e.g. to mirror vertically:
> 
>   <g transform="scale(1, -1)"> ... whatever you want mirrored </g>
> 
> Just like with rotation, you may need to translate things around to
position
> the "mirror line" in the right place. 

That does it. Thanks. Only annoyance is, that now calculating translate
is more annoying, but I guess I have to live with that.

Here is how I tested it:

<text x="300" y="200" font-size="32" text-anchor="middle" fill="black"
font-family="sans-serif" stroke="black">
  <tsan baseline-shift="-50%">AWP</tspan>
</text>

In this case needed transform-attribute was: 
transform="scale(1, -1), translate(0, -400)" 
which I added to text-element.


Still, I keep wondering why the Java-based approach didn't work. It
seemed simple enough, but this probably will remain a mystery.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to