CALayer bounds with ResizeAspect mask?
CALayer bounds with ResizeAspect mask?
- Subject: CALayer bounds with ResizeAspect mask?
- From: Colin Doncaster <email@hidden>
- Date: Wed, 8 Oct 2008 22:01:38 +1300
Hi there,
I'm using a QTMovieLayer with
[myMovieLayer setContentsGravity:kCAGravityResizeAspect];
specified.
I have a second layer that I'd like to draw on that needs to match the
resized movie that is now scaled to maintain the correct aspect
ratio. Is there a way of retrieving the resized movie bounds?
I know I can compute it myself, but it seems like there would be a way
of accessing the resized movie dimensions. I tried the CGImageRef,
but it just returns the resolution of the QTMovie.
thanks.
_______________________________________________
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