Home »
Public Forums »
archive »
determining postition on image?
determining postition on image? [message #5142] |
Mon, 02 October 1995 00:00 |
cas
Messages: 2 Registered: October 1995
|
Junior Member |
|
|
Is it possible to determine where one is on a gif image after one
draws a character string automatically? That is, w/o interactively
using the CURSOR command? What I am doing is writing a character
string on a gif file in helvetica font. I'd like to return what
pixels on the gif are covered by a rectangle surrounding the character
string. Unfortunately, it doesn't appear that letters in helvetica are
the same width so I can't simply calculate the pixel length based on the
length of the character string.
Another possibility might be to calculate somehow how long a string is
in a certain font but I don't know how to do that either.
Any pointers would be appreciated.
Cathy S.
CDC/CIRES
--
cas@cdc.noaa.gov
|
|
|
Current Time: Wed Oct 08 15:22:02 PDT 2025
Total time taken to generate the page: 0.00398 seconds