Ya i also thought that way but the problem is that between two rss
feed there should be a separator image. So if i use scroll layer then
it can be a problem of drawing the image.
On 22-May-09, at 11:16 PM, David Duncan wrote:
On May 21, 2009, at 11:25 PM, Anshul jain wrote:
Hi
thanks for suggestion. Since i want to scroll the text so i have
to update it regularly so i have taken a CAOPenGLLayer and set is
asynchronous and i am using
Is this the right approach to do it.
In Core Animation if you want to scroll something, then you move its
layer. There is no need to continuously update the content of the
layer, which is what you are proposing with the CAOpenGLLayer
solution. Additionally, your basically just using a GL layer to draw
a bitmap that is continuously updating without any other reason to
use GL, its a waste of resources.
I would highly recommend that you read the Core Animation
Programming Guide before you continue much further, as it may give
you some bigger insights into what is available and how you might
use it. You can find it here: <http://developer.apple.com/documentation/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Introduction.html
>
--
David Duncan
Apple DTS Animation and Printing
Regards,
Anshul jain
Software Engineer
Prithvi Information Solutions Ltd
10Q3A1, Cyber Towers
HITEC City, Madhapur
Hyderabad - 500 081
_______________________________________________
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 cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com