• 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: Re: EXC_BAD_ACCESS when calling CGContextDrawLayerInRect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: EXC_BAD_ACCESS when calling CGContextDrawLayerInRect


  • Subject: Re: Re: EXC_BAD_ACCESS when calling CGContextDrawLayerInRect
  • From: "Carter R. Harrison" <email@hidden>
  • Date: Sun, 13 Apr 2008 15:50:35 -0400

On Apr 13, 2008, at 07:15, Carter R. Harrison wrote:

CGContextDrawLayerInRect(context, CGRectMake([self frame].origin.x,
[self frame].origin.y, [self frame].size.width, [self
frame].size.height), cgback);

Are you sure you don't mean [self bounds]? The extent of a view in its drawing coordinate system is given by its bounds, not its frame

Yes, you are correct. Thanks for the tip, but unfortunately this has not resolved the original issue.
_______________________________________________


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


  • Prev by Date: Re: Why should we set ivars to nil in dealloc?
  • Next by Date: Re: Why should we set ivars to nil in dealloc?
  • Previous by thread: Re: EXC_BAD_ACCESS when calling CGContextDrawLayerInRect
  • Next by thread: Simple TextView not updating view
  • Index(es):
    • Date
    • Thread