Re: Re: EXC_BAD_ACCESS when calling CGContextDrawLayerInRect
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