QMedia Movie area geometry commands

QM_GetAreaRect

QM_GetAreaRect(areaRef; areaLeft; areaTop; areaRight; areaBottom):error
areaRef Longint Movie area reference
areaLeft Longint Area left
areaTop Longint Area top
areaRight Longint Area right
areaBottom Longint Area bottom
error Longint Error result

Returns the coordinates of a movie plug-in area. The area coordinates are relative to the top-left corner of the window where the area resides in.

The movie plug-in area is specified by areaRef.

Parameters areaLeft, areaTop, areaRight and areaBottom receive the coordinates of the area's left, top, right and bottom edges respectively. All coordinates are relative to the top-left corner of the window where the area resides in.

Example

  `Get the bounds of plug-in area xMovieArea
 
C_LONGINT($left;$top;$right;$bottom)
 
$error:=QM_GetAreaRect (xMovieArea;$left;$top;$right;$bottom)
 

Related commands

QM_GetMovieRect Returns the boundary rectangle of the movie in a movie plug-in area.
QM_GetControllerRect Returns the boundary rectangle of the movie controler in a movie plug-in area.

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:40:12