Michael,

On the speed question, some things to consider are:

- anti-aliasing tends to slow things down quite a bit (so avoid
it if performance is key, at least in the current releases).

- if your string is static (you're going to render the same
string at the same size many times), consider creating a BITMASK image,
drawing the string into it, and doing a drawImage(...) of that
string image every time you need it.  It's a much simpler operation
internally (copying one image around versus rasterizing several
characters).

Chet.


Michael Seele wrote:


hi,
what is the fastest operation to get the size of a string! also i want
to know how i can draw a string as fast as possible! have anybody some
profiling resluts? THANKS

--
Mit freundlichen Gruessen
Michael Seele([EMAIL PROTECTED])

G & H Softwareentwicklung GmbH     Tel.: {+49|0} 7451 - 53 706 0
Robert-Bosch-Str. 23               Fax:  {+49|0} 7451 - 53 706 90
D-72160 Horb a.N.                  http://www.guh-software.de

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to