• 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: / bar graphics /
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: / bar graphics /


  • Subject: Re: / bar graphics /
  • From: Jim Witte <email@hidden>
  • Date: Mon, 21 Jun 2004 15:39:38 -0500

What is the problem drawing in the drawRect: method ? Are you afraid of
the overhead of drawing the whole thing each time the view needs to be
displayed ? If yes, I think there is no problem with this, drawings
rectangles and colors, even with shadows is a very simple and quick
work that can handle easily hundreds of rects.

If overhead is really a concern, would subclassing a NSQuickDrawView be fastest of all, since the system (I'd think) would only have to re-composite parts that were changed, and just blit the rest from the backing buffer?

At some point, one has to ask "How fast is the *human* using the program?

Jim
_______________________________________________
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.


References: 
 >/ bar graphics / (From: Luis E! <email@hidden>)
 >Re: / bar graphics / (From: Yann Bizeul <email@hidden>)

  • Prev by Date: Re: NSTextView woes
  • Next by Date: Re: Redirect stderr to NSTextView
  • Previous by thread: Re: / bar graphics /
  • Next by thread: Re: / bar graphics /
  • Index(es):
    • Date
    • Thread