Draw String/text in circular path.

2010-08-23 Thread Ahsan Shafiq
I need to draw text in circular path. Any thoughts or comments on it? Regards Ahsan ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Re: Core Animation. issue with scaling

2010-08-22 Thread Ahsan Shafiq
On Sat, Aug 21, 2010 at 5:32 PM, Eric Wing ewmail...@gmail.com wrote: On 8/21/10, Ahsan Shafiq ahsan.shafiq...@gmail.com wrote: Yes, you are right but now I am unable to handle touches. As I said in my previous post, I also want to update the model. Simply scaling as you mentioned does

Re: Core Animation. issue with scaling

2010-08-21 Thread Ahsan Shafiq
Yes, you are right but now I am unable to handle touches. As I said in my previous post, I also want to update the model. Simply scaling as you mentioned does scale down or scale up the sublayers as well but how to update the model. In Scaling both the position and bounds get changed!! and after

Re: CoreAnimation - Resizing sublayers along with superlayer animation

2010-08-21 Thread Ahsan Shafiq
Hi You can use scale, but if you also want to detect touches on these layers you have to update the model as well which is nearly impossible to do if you are doing scalling. But apart from this scaling will work just fine. On Fri, Aug 20, 2010 at 3:54 AM, Ignacio Enriquez nach...@gmail.com wrote:

Re: Core Animation. issue with scaling

2010-08-20 Thread Ahsan Shafiq
bump* On Thu, Aug 19, 2010 at 10:47 AM, Ahsan Shafiq ahsan.shafiq...@gmail.comwrote: Hi I have read that in explicit animation, say translation, to really change the model layer position we have to change it's position too. So here is my code: CABasicAnimation *animation

Core Animation. issue with scaling

2010-08-19 Thread Ahsan Shafiq
Hi I have read that in explicit animation, say translation, to really change the model layer position we have to change it's position too. So here is my code: CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@position]; CGPoint pt =