Re: CGContext - Drawing Circle
Re: CGContext - Drawing Circle
- Subject: Re: CGContext - Drawing Circle
- From: Markus Spoettl <email@hidden>
- Date: Thu, 04 Jul 2013 14:11:43 +0200
On 7/4/13 1:44 PM, Dave wrote:
I have a custom class, subclassed from UIControl that draws a circle with an
X in it (like a circular check box control). This works ok, but the circle
looks scrappy when displayed on the iPad. The method that does the work is
appended to this mail and is called from the drawRect method of the class.
What does the call to your -drawCheckBoxStyleCircle: look like? It sounds as if
you might pass the wrong rect. Notice that the rect passed into -drawRect: isn't
the bounds of the control but the dirty rect you are expected to update.
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