comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » determining postition on image?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
determining postition on image? [message #5142] Mon, 02 October 1995 00:00
cas is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Automatic button pressing:is there a way?
Next Topic: How to make an Icon ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:22:02 PDT 2025

Total time taken to generate the page: 0.00398 seconds