• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: drawAtPoint rendering thin, light text?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: drawAtPoint rendering thin, light text?
  • Next by Date: 10.3 problem...or me
  • Previous by thread: Re: drawAtPoint rendering thin, light text?
  • Next by thread: Accepting a drag op without returning from acceptDrop Hi, I'm trying to find a way to reply to receiving a drop on my NSTableView (in the acceptDrop delegate method) without having to return from the method itself. Normally you return "YES" or "NO" but my app has to wait for a user response and needs to tell the drag sender that the drag has been accepted before returning. Nothing found in the documentation as yet, is there some trick to make this happen? Without it the drag eventually times out and the drag icon slides back to the source. Regards, Tim.
  • Index(es):
    • Date
    • Thread