Hi Heiska. Heiska Anssi: > Library produces: > +--------+ > | AW | > | | > +--------+ > > And it needs to be converted to: > +--------+ > | VM | // V is A upside down and M is W upside down > | | // note that this is not rotated string, only each letter > +--------+ // is rotated
Fortunately, getting that effect is quite easy in SVG. You just need to use the rotation="" attribute on the <text> elements. Presumably you can modify the SVG document before you build the GVT tree. Find all of the elements that you need to rotate, then do a: elt.setAttributeNS(null, "rotate", "180"); on each one. Since the rotation is about the point that each glyph is to be placed (i.e., the bottom left of each glyph) you may need to move the <text> elements up and right a bit, too. -- Cameron McCormack, http://mcc.id.au/ xmpp:[EMAIL PROTECTED] ▪ ICQ 26955922 ▪ MSN [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
