Hi Tonny!

I'm trying this code but I can't make it works... Please gime a hand! :D

Shape shapTxt;
TextLayout txtTl = new TextLayout("Hello World!", new
Font("BernhardFashion BT", 1, 96), new FontRenderContext(null, false,
false));

... And then?? How can I use    GraphicsNode???

Thank you!
Oh, by the way, do you know any way to apply 2D effects like
perspective? Thanks again!

Angel

-----Mensaje original-----
De: Tonny Kohar [mailto:[EMAIL PROTECTED] 
Enviado el: martes, 13 de septiembre de 2005 14:21
Para: [email protected]
Asunto: Re: Convert element to curves


Hi,

On Tue, 2005-09-13 at 11:16 -0300, Ing. Angel Monticelli wrote:
> Hi everyone!
>  
> I've trying to use Batik lib to convert text to path (text to curves 
> transformation), but I can't do it. I need some help of experienced 
> users please!

If you do not mind using Batik GVT part instead of pure SVG DOM, you
could convert text,rect,circle,etc to path by eg:

GraphicsNode gvtNode = bridgeContext.getGraphicsNode(txtElement);
Shape s = gvtNode.getOutline();

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com


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





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

Reply via email to