On Wed, 17 Mar 2010 09:50:17 +0100, Gustavo Pizano <[email protected]> said: > I check the Apple docs, and in the advance drawing techniques it says, like > Draw Minimally, and they suggest using that method also... so how to make sure > Im just drawing the backgrounds of the active TA and not redrawing the whole > view?
drawRect hands you a parameter - the rect. So you write your code in such a way that you only draw material that is within (or, usually easier, material that intersects) that rect. m. -- matt neuburg, phd = [email protected], <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
