• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CALayer bounds with ResizeAspect mask?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: CALayer bounds with ResizeAspect mask?
      • From: Matt Long <email@hidden>
  • Prev by Date: Re: Issue with modal window
  • Next by Date: Re: CoreData: Fetching object with maximum of property
  • Previous by thread: Re: Getting pointer to NSWindowController
  • Next by thread: Re: CALayer bounds with ResizeAspect mask?
  • Index(es):
    • Date
    • Thread