Re: drawAtPoint rendering thin, light text?
Re: drawAtPoint rendering thin, light text?
- Subject: Re: drawAtPoint rendering thin, light text?
- From: Evan Olcott <email@hidden>
- Date: Thu, 30 Oct 2003 14:24:03 -0600
on 10/30/03 12:53 PM, Jvrn Salewski at email@hidden wrote:
>
> Further research has shown: just draing it inside an allocated NSImage then
>
> drawing the result back is making the problem text. If I [NSString
>
> drawAtpoint] right in the view itself, the text looks beautiful.
>
>
>
So why not doing your drawing right in the view itself? Why the detour with
>
NSImage?
>
Because I'm trying (and this may not be the case) to be swift and clean
about my updates. I want to separate drawing from updating. I don't want to
necessarily redraw everything everytime drawRect: gets called. I can at
least "pseudo-cache" the image and blast it to the screen it when it needs
to be drawn and re-build it only when it needs to be rebuilt.
It's a technique that I'm not sure in this case is going to work anyway,
so...
-ev
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.