Speed up drawing of View with multiple NSBezierPaths
Speed up drawing of View with multiple NSBezierPaths
- Subject: Speed up drawing of View with multiple NSBezierPaths
- From: Jeff Skrysak <email@hidden>
- Date: Sun, 6 Jul 2003 09:38:37 -0500
I'm working on some software that draws, in a small NSQuickDrawView, a
lot
of NSBezierPaths. So many, it gets quite slow.
Does anyone know of possible "generic" optimizations I can make to speed
things up? Generic meaning things that don't have to do with making the
algorithms
themselves, but with the paths or view(s). Settings, etc...
I guess it's kind of a hard question, but I do know that the function:
- (BOOL)isOpaque
{
return YES;
}
Is a good place to start, and is one example of the kind of thing I am
looking for.
(that function above goes in the view's code, and was mentioned in
Apple's
DotView example)
- Jeff
_______________________________________________
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.