[6283] in java-interest
Re: Rotate Text?
daemon@ATHENA.MIT.EDU (Kevin Conner)
Thu Mar 28 15:08:37 1996
Date: Mon, 25 Mar 1996 10:54:11 +0000
Reply-To: Java Interest <JAVA-INTEREST@JAVASOFT.COM>
From: Kevin Conner <knrc@IMPLTD.COM>
To: Multiple recipients of list JAVA-INTEREST
<JAVA-INTEREST@JAVASOFT.COM>
Brian Elliott wrote:
>
> How do I rotate text? I want to use g.drawString
> to draw text at an angle.
>
> Do I have to write my own? Or has someone else
> already done it? I am considering using some
> X Window rotate font code and translating it
> into Java or using the Hershey vector font set.
>
Can you summarise any responses you get?
I implemented a generic class which would rotate an image and used
this to spin text. I was not very happy with it's performance but,
as this was my introduction to Image manipulation, I didn't go back
to modify the code.
Thanks,
Kev
-----------------------------------------------------------------------
Kevin Conner knrc@impltd.com Integrated Micro Products
Software Engineer +44 1207 585533 Consett, County Durham, UK
-----
This message has been forwarded via the JAVA-INTEREST
mailing list. In order to unsubscribe from this list, send a message to
listserv@javasoft.com with the command 'signoff JAVA-INTEREST' in
the message body (not in the subject line).
-----
This message has been forwarded via the JAVA-INTEREST
mailing list. In order to unsubscribe from this list, send a message to
listserv@javasoft.com with the command 'signoff JAVA-INTEREST' in
the message body (not in the subject line).