• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
      • From: Matthew Lindfield Seager <email@hidden>
References: 
 >kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region (From: Jon Nall <email@hidden>)

  • Prev by Date: Re: Why getting two awakeFromNib messages??
  • Next by Date: pump event
  • Previous by thread: kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
  • Next by thread: Re: kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
  • Index(es):
    • Date
    • Thread