Re: / bar graphics /
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.