Hi
I am developing a simple video player that has to be able to allow the
user to zoom in/out the played video, to "pan" the video's 'viewport'
with the mouse when the video has been zoomed in and doesn't fit
completely on the view, and allow to flip the played movie upside
down.

It seems Core Animation is the way to go. I am still not exactly sure
how to implement this (I managed to get the QTMovieLayer displayed,
and get it zoomed and panned by adjusting the layer's frame (reacting
on NSView's events), but still there is a lot to do - I need to make
sure the QTMovieLayer can't be scrolled out of the "movie zone" for
example, and the layer doesn't slip away when being zoomed out too
much).

I am wondering if there's a simpler way to implement what i am doing.
I was reading about CAScrollLayer and CATiledLayer - might those help
me? Should I use affine transformations? Or these layer.frame
operations are the way to go?

I am a newbie in Core Animation, and I would really appreciate a good
advice about what is the correct way to do what I am trying to do :-)

Thanks!
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to