[osg-users] Compute line numbers for Glyphs in Text class
Robert Osfield
robert.osfield at gmail.com
Thu Oct 25 01:05:52 PDT 2018
Hi Ferran,
On Wed, 24 Oct 2018 at 18:58, Ferran Pallarès <pallares.ferran at gmail.com>
wrote:
> Any hint on how I could achieve this in the latest release?
>
It should be possible to use GlyphQuads::_coords to work out where the
glyphs are. They will be aligned on the XY plane, and the
Text::CharacterSize should enable you to work out the line number. I don't
know the exact way to do it, but this is the direction I'd look in.
Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20181025/281ca8e7/attachment.html>
More information about the osg-users
mailing list