I am a bit confused on the relationship between the graphics context,
FontRenderContexts, and TextLayouts.  

What I would like to do is this: create a TextLayout, using
Graphics2d.getFontRenderContext.  I would then like to keep that TextLayout
around, drawing it and using it for hit detection as appropriate.  

My big question is, does the FontRenderContext remain valid via successive
repaintings and possible changes in the scaling of the graphics context.
Or do I need to reconstruct the text layout each time I want to either
paint it or do hit detection?

Thanks,

Jay


=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/

Reply via email to