Bug 327

Summary: Add ability to draw bounding rectangle to TextRenderer
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: awtAssignee: Sven Gothel <sgothel>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P4    
Version: 1   
Hardware: All   
OS: all   
Type: FEATURE SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:50:58 CET


---- Reported by kbr 2007-10-23 11:23:19 ----

The NASA World Wind Java project needs the ability to select text based on mouse
clicks. Their selection scheme is based on colors: they draw each selectable
item in the scene with a different color and then map back the color under the
mouse pointer to the object.

If the TextRenderer had the ability to draw the bounding rectangle of the text
instead of the text itself, this would allow this sort of selection scheme to be
used by applications. The application could even choose a different color for
each glyph to support letter-by-letter selection.



--- Bug imported by sgothel@jausoft.com 2010-03-24 07:50 EDT  ---

This bug was previously known as _bug_ 327 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=327