Screen coords for a glyph?

"Michael Cole" at bestweb.net "Michael Cole" at bestweb.net
Sat Dec 1 01:09:49 UTC 2001


Hi all,

Is there a clever way of learning the position of a specific glyph in a
text morph? I'm trying to anchor morphs to specific sections of text and
cannot see a means of determining the coordinates apart from
recalculating the layout of the text from StrikeFont.

If there isn't already a built-in method, is it possible to send a
handmorph to an offset in a text (and then have it report its position)?

Michael Cole




More information about the Squeak-dev mailing list