Re: CGContext - Drawing Circle
Re: CGContext - Drawing Circle
- Subject: Re: CGContext - Drawing Circle
- From: Markus Spoettl <email@hidden>
- Date: Thu, 04 Jul 2013 15:12:02 +0200
On 7/4/13 2:35 PM, Dave wrote:
Here is the call:
- (void)drawRect:(CGRect) theDrawRect
{
switch (mCheckBoxStyle)
{
case kCheckBoxStyleBox:
[self drawCheckBoxStyleBox:theDrawRect];
break;
case kCheckBoxStyleCircle:
[self drawCheckBoxStyleCircle:theDrawRect];
break;
}
}
Which is what I suspected. -drawRect: gets the dirty rect. Try passing [self
bounds] instead.
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
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