Re: Best Background Drawing Strategy
Re: Best Background Drawing Strategy
- Subject: Re: Best Background Drawing Strategy
- From: Scott Anguish <email@hidden>
- Date: Thu, 11 Mar 2004 04:40:42 -0500
On Mar 11, 2004, at 3:56 AM, Francisco Tolmasky wrote:
I have a view that has a pseudo complicated background. Its a curved
outline, with a colored fill. My question is this, is it better to
make the path each time (or at least each time it is resized), and
draw it, or is it better to hold 3 images (left, middle, right) and
then use those to composite a background images. My intuition tells
me that the latter should be faster to draw, but I'm really not sure.
I'm hesitant to suggest trying to improve performance without actually
having benchmarked the issue.
if the drawing time takes too long redrawing, then I'd look at trying
to improve that. But only after determining that there is an issue.
_______________________________________________
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.