Re: Figure out the size of an NSAttributedString

2008-11-26 Thread Jean-Nicolas Jolivet
Thanks to all Somehow I assumed it wouldn't be something that is commonly used... now that I think about it, it makes perfect sense that one would need to know the size of a string that is do be drawn!... apparently I should've dig a little deeper! A hearty RTFM to myself! :) Thanks

Re: Figure out the size of an NSAttributedString

2008-11-26 Thread Gerd Knops
On Nov 26, 2008, at 5:14 PM, Jean-Nicolas Jolivet wrote: I know this might seem like a weird idea, but I need to figure out the size (width and height) of an NSAttributedString that I am drawing... basically I need to know it because I am drawing it inside a larger image and I need to posi

Re: Figure out the size of an NSAttributedString

2008-11-26 Thread Jean-Daniel Dupas
Le 27 nov. 08 à 00:14, Jean-Nicolas Jolivet a écrit : I know this might seem like a weird idea, but I need to figure out the size (width and height) of an NSAttributedString that I am drawing... basically I need to know it because I am drawing it inside a larger image and I need to positio

Re: Figure out the size of an NSAttributedString

2008-11-26 Thread Nick Zitzmann
On Nov 26, 2008, at 4:14 PM, Jean-Nicolas Jolivet wrote: I know this might seem like a weird idea, but I need to figure out the size (width and height) of an NSAttributedString that I am drawing... basically I need to know it because I am drawing it inside a larger image and I need to posi

Re: Figure out the size of an NSAttributedString

2008-11-26 Thread Douglas Davidson
On Nov 26, 2008, at 3:14 PM, Jean-Nicolas Jolivet wrote: I know this might seem like a weird idea, but I need to figure out the size (width and height) of an NSAttributedString that I am drawing... basically I need to know it because I am drawing it inside a larger image and I need to posi

Figure out the size of an NSAttributedString

2008-11-26 Thread Jean-Nicolas Jolivet
I know this might seem like a weird idea, but I need to figure out the size (width and height) of an NSAttributedString that I am drawing... basically I need to know it because I am drawing it inside a larger image and I need to position it... however the string can be of any font/size/leng