Re: kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
Re: kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
- Subject: Re: kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
- From: Kyle Sluder <email@hidden>
- Date: Sun, 25 Oct 2009 21:27:48 -0700
On Sun, Oct 25, 2009 at 8:21 PM, Jon Nall <email@hidden> wrote:
> Hi.
> I just joined the mailing list and tried to post this last week, but
> never saw it show up. I'm trying again.
It did in fact make it through; a good way to check is to look at
Cocoabuilder (http://www.cocoabuilder.com) and the Apple mailing list
archives (http://lists.apple.com). In this case, I found your message
here: http://lists.apple.com/archives/cocoa-dev/2009/Oct/msg01683.html
> When this happens I have a view with an NSProgressIndicator which is
> updating. In my view's drawRect:, I modify the frame of the progress
> indicator and draw an NSBezierPath and an NSString.
Don't change things like this in -drawRect:. -drawRect: is for
drawing; I am willing to wager by mucking with view geometry you've
desynchronized the state of an internal list of dirty regions inside
Core Graphics.
--Kyle Sluder
_______________________________________________
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