Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: RickJ on Sun 13/02/2005 19:54:10

Title: Pixel width of text? [SOLVED]
Post by: RickJ on Sun 13/02/2005 19:54:10
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...
Title: Re: Pixel width of text?
Post by: Scorpiorus on Sun 13/02/2005 20:00:30
Yeah, there is a couple: GetTextWidth and GetTextHeight.
Title: Re: Pixel width of text?
Post by: RickJ on Sun 13/02/2005 20:05:48
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. 
Title: Re: Pixel width of text?
Post by: Proskrito on Sun 13/02/2005 21:31:08
RTFM N00B!!1!
Title: Re: Pixel width of text?
Post by: TerranRich on Mon 14/02/2005 04:51:19
I never thought I'd see the day that RickJ posted in the Beginners' Tech Forum. How the mighty have fallen. ;)
Title: Re: Pixel width of text?
Post by: Scummbuddy on Mon 14/02/2005 06:21:38
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...  ::)
Title: Re: Pixel width of text?
Post by: RickJ on Mon 14/02/2005 10:21:25
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.