Pixel width of text? [SOLVED]

Started by RickJ, Sun 13/02/2005 19:54:10

Previous topic - Next topic

RickJ

I could have sworn that I've seen an AGS function that returns the number of pixels it takes to display a given string and font, but I'll be darned if I can find it now.  Anyone know the name of this function or WITFN it is?  have any clues how to find it.   :=  Thanks...

Scorpiorus

Yeah, there is a couple: GetTextWidth and GetTextHeight.

RickJ

Hehe, about time someone answerd my post!!!  I had to wait a whole 6 minutes, can't you people do any better  := 

Thanks anyway ;),  I appreciate your help Scorp. 

Proskrito


TerranRich

I never thought I'd see the day that RickJ posted in the Beginners' Tech Forum. How the mighty have fallen. ;)
Status: Trying to come up with some ideas...

Scummbuddy

Yeah, I know the feeling. I'll go to great lengths to not post, just to save face. I guess I could suck it up...  ::)
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

RickJ

#6
Well, I was too embarassed to ask in the tech forum  :-[, I'm surprised you didn't send me to the old bit bucket.  ;D 

Besides, as Proskrito rightly points out, this is a beginners question, so I put it here.  And how did I get the rank of "mighty' anyway?  :=  That's Ok, I find it amusing as well. 

SMF spam blocked by CleanTalk