• 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: NSMovie and resizing (matrix fun)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMovie and resizing (matrix fun)


  • Subject: Re: NSMovie and resizing (matrix fun)
  • From: John Pattenden <email@hidden>
  • Date: Wed, 6 Feb 2002 14:38:33 -0800

and here's nice trick too...

to get the actual "normal" size of the movie box (if its already been changed)

SetIdentityMatrix(&matrix);
SetMovieMatrix(fMovie, &matrix);
GetMovieBox(fMovie, &fMovieDefaultRect);

gets you back to actual size of the movie...

(course this isn't very cocoaish code.. but then QT is not very well supported by cocoa..)


John Pattenden
ScreenTime Media

http://www.screentime.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Resetting "Factory" Prefs
  • Next by Date: Buttons is NSTableView
  • Previous by thread: Re: Resetting "Factory" Prefs
  • Next by thread: Buttons is NSTableView
  • Index(es):
    • Date
    • Thread