Quartz 2D animating text?

Posted by coure06 on Stack Overflow See other posts from Stack Overflow or by coure06
Published on 2010-05-26T06:41:46Z Indexed on 2010/05/26 6:51 UTC
Read the original article Hit count: 198

i have to animate text around a circle. The text will also scale up/down. Whats the best approach to accomplish this? (i am using Quartz 2D)

My approach is:
-- Calculate point using sin and cos methods.
-- Move Pen there and draw text with alpha and size.
-- Clear the screen -- Calculate next point using sin and cos methods.
-- Move pen there and draw text with alpha and size.
-- clear the screen
so on...

any better way?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone-sdk