Bug 327 - Add ability to draw bounding rectangle to TextRenderer
Summary: Add ability to draw bounding rectangle to TextRenderer
Alias: None
Product: Jogl
Classification: JogAmp
Component: awt (show other bugs)
Version: 1
Hardware: All all
: P4 normal
Assignee: Sven Gothel
Depends on:
Reported: 2007-10-23 11:23 CEST by Sven Gothel
Modified: 2015-09-27 03:14 CEST (History)
0 users

See Also:
SCM Refs:
Workaround: ---


Note You need to log in before you can comment on or make changes to this bug.
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