Re: NSMovie and resizing
Re: NSMovie and resizing
- Subject: Re: NSMovie and resizing
- From: Cyril Godefroy <email@hidden>
- Date: Wed, 6 Feb 2002 23:09:16 +0100
I wouldn't be as complicated as Ondra (demonstrating much more), I'd
just do this:
Rect tRect;
float tMovieWidth,tMovieHeight;
myQTMovie = [myMovie QTMovie];
GetMovieBox(myQTMovie,&tRect);
tMovieWidth=tRect.right-tRect.left;
tMovieHeight=tRect.bottom-tRect.top;
Of course, this needs Quicktime.framework in your project and
<QuickTime/Quicktime.h> in your header (watch out the capital letters).
QTKit has been left still by the two original developers (apparently
lack of time and support) but I just started working on adding features
and uses (Documentation would be nice too). If you want to join us,
you're welcome. Some help wouldn't hurt.
Cyril
On Wednesday, February 6, 2002, at 06:28 PM, Riccardo Santato wrote:
Hi everybody,
it seems to me this question has already been asked but I can't find
anything on mailing list archive. Is there a way to auto-resize an
NSMovie to the real QT movie width and height ?
Thank you all.
--
Riccardo Santato
www.riccardosantato.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.
_______________________________________________
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.