• 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
Re: Dimensions of a movie?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dimensions of a movie?


  • Subject: Re: Dimensions of a movie?
  • From: "Douglas A. Welton" <email@hidden>
  • Date: Tue, 22 Feb 2005 12:00:14 -0500

August,

If you want the dimensions of the NSMovieView, then you can simply use the
-bounds method to get the rectangle/area used within the window.  If you
would like to know the actually dimensions of the QuickTime movie that is
playing, use the -QTMovie method to get the Movie pointer, then call
GetMovieNaturalBoundsRect() to get the dimensions of the movie.

Hope that helps...

later,

douglas

on 2/22/05 11:02 AM, August Trometer at email@hidden wrote:

> Just wondering if there's an easy way to get the pixel dimensions or
> size of a NSMovie, much like you can with NSImage.
>
> Thanks!
>
> August

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Dimensions of a movie?
      • From: August Trometer <email@hidden>
References: 
 >Dimensions of a movie? (From: August Trometer <email@hidden>)

  • Prev by Date: Re: Works on 10.3, not 10.2
  • Next by Date: kqueue for network volumes?
  • Previous by thread: Dimensions of a movie?
  • Next by thread: Re: Dimensions of a movie?
  • Index(es):
    • Date
    • Thread