Re: CGContextSetStyle console log error?
Re: CGContextSetStyle console log error?
- Subject: Re: CGContextSetStyle console log error?
- From: Scott Thompson <email@hidden>
- Date: Mon, 27 Aug 2007 11:19:13 -0500
On Aug 27, 2007, at 10:49 AM, Andrew Merenbach wrote:
Hi, Felix,
Pardon me if I'm wrong, but rather than calling -drawRect: directly,
couldn't you call -display or -displayIfNeeded (or even -
displayIfNeededIgnoringOpacity) in order to force the redrawing of
your view?
More than "couldn't you" I would say "shouldn't you". The answer of
course is "Yes, you should". Although you really shouldn't call any
of these directly unless you have VERY specific needs. You should be
using one of the "setNeedsDisplay" variants.
But the person that posted that did say they were badly coded unit
tests :-)
Scott
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden