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

Re: EXC_BAD_ACCESS when calling CGContextDrawLayerInRect


  • Subject: Re: EXC_BAD_ACCESS when calling CGContextDrawLayerInRect
  • From: Quincey Morris <email@hidden>
  • Date: Sun, 13 Apr 2008 09:03:31 -0700


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.



_______________________________________________

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


References: 
 >EXC_BAD_ACCESS when calling CGContextDrawLayerInRect (From: "Carter R. Harrison" <email@hidden>)

  • Prev by Date: Re: PDFView and Core Data undos
  • Next by Date: Menu items vs modal sessions
  • Previous by thread: EXC_BAD_ACCESS when calling CGContextDrawLayerInRect
  • Next by thread: Re: EXC_BAD_ACCESS when calling CGContextDrawLayerInRect
  • Index(es):
    • Date
    • Thread