QMedia Movie area geometry commands |

### QM_GetControllerRect

QM_GetControllerRect(areaRef; controllerLeft; controllerTop; controllerRight; controllerBottom):error
| areaRef | Longint | Movie area reference
| controllerLeft | Longint | Controller left
| controllerTop | Longint | Controller top
| controllerRight | Longint | Controller right
| controllerBottom | Longint | Controller bottom
| error | Longint | Error result

Returns the boundary rectangle of the movie controler in a movie plug-in area. The rectangle's coordinates are relative to the top-left corner of the plug-in area.

The movie plug-in area is specified by areaRef.

Parameters controllerLeft, controllerTop, controllerRight and controllerBottom receive the coordinates of the movie controller's left, top, right and bottom edges respectively. All coordinates are relative to the top-left corner of the plug-in area.

Example

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

Related commands

QM_SetControllerRect | Changes the position and size of the movie controler in a movie plug-in area.
QM_SetMovieRect | Changes the position and size of the movie in a movie plug-in area.
QM_GetMovieRect | Returns the boundary rectangle of the movie in a movie plug-in area.

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