FROM : Miguel Arroz
DATE : Tue Dec 21 18:28:46 2004
Hi!
On 21 de dez de 2004, at 4:16, Jim Thomason wrote:
> There's no magic to it. Just use an appropriate offscreen item and
> draw into that. an NSView that's not visible, or an NSImage, or
> whatever else would be appropriate to you. You can then composite in
> the whole thing.
I still don't understand... imagine I have a class, MyView, that
subclasses NSView. Where do I draw exactly?
Thanks for the suggestions about the drawing rect, I'll look into
that. I do a lot of text height and width calculations, and I will also
try to cache those results, and only re-calculate them if needed.
Yours
Miguel Arroz
"I felt like putting a bullet between
the eyes of every Panda that wouldn't
scr*w to save its species." -- Fight Club
Miguel Arroz - <email_removed> - http://guiamac.com/bagos
DATE : Tue Dec 21 18:28:46 2004
Hi!
On 21 de dez de 2004, at 4:16, Jim Thomason wrote:
> There's no magic to it. Just use an appropriate offscreen item and
> draw into that. an NSView that's not visible, or an NSImage, or
> whatever else would be appropriate to you. You can then composite in
> the whole thing.
I still don't understand... imagine I have a class, MyView, that
subclasses NSView. Where do I draw exactly?
Thanks for the suggestions about the drawing rect, I'll look into
that. I do a lot of text height and width calculations, and I will also
try to cache those results, and only re-calculate them if needed.
Yours
Miguel Arroz
"I felt like putting a bullet between
the eyes of every Panda that wouldn't
scr*w to save its species." -- Fight Club
Miguel Arroz - <email_removed> - http://guiamac.com/bagos
| Related mails | Author | Date |
|---|---|---|
| Miguel Arroz | Dec 21, 16:43 | |
| Jim Thomason | Dec 21, 17:16 | |
| Miguel Arroz | Dec 21, 18:28 | |
| paul webb | Dec 21, 19:17 | |
| Markus Hitter | Dec 21, 19:34 |






Cocoa mail archive

