QMediaLight Movie properties commands

QM_GetMovieDimensions

QM_GetMovieDimensions(movieRef; movieWidth; movieHeight):error
movieRef Longint Movie reference
movieWidth Real Movie width
movieHeight Real Movie height
error Longint Error result

Returns the natural width and height of a movie.

Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile or QM_NewMovieFromURL.

Parameters movieWidth and movieHeight receive the movie's natural width and height in pixels.

Example

  `Get the dimensions of movie $movieRef
 
C_REAL($width;$height)
 
$error:=QM_GetMovieDimensions ($movieRef;$width;$height)
 

QMediaLight © Escape OE
Generated by QDoc 2.8 on Thu, Oct 8, 2009 18:08:31