QMedia Text media commands

QM_GetTextMediaDrop

QM_GetTextMediaDrop(movieRef; trackID; dropOffsetH; dropOffsetV; dropTrans):error
movieRef Longint Movie reference
trackID Longint Track ID
dropOffsetH Longint Horizontal drop offset
dropOffsetV Longint Vertical drop offset
dropTrans Longint Drop shadow transparency
error Longint Error result

Returns the drop shadow options currently used when adding samples to a text track.

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

Parameter trackID is the ID of the track.

Parameters dropOffsetH and dropOffsetV receive the horizontal and vertical drop shadow offsets respectively.

Parameter dropTrans receives the drop shadow transparency. The drop shadow transparency is in the 0-255 range.

QMedia sets the default drop shadow options to the following values:

Horizontal offset:6
Horizontal offset:6
Transparency:127

Example

`Get the drop shadow options of text track ID $trackID
 
C_LONGINT($hDrop;$vDrop;$transparency)
 
$err:=QM_GetTextMediaDrop ($movie;$trackID;$hDrop;$vDrop;$transparency)
 

Related commands

QM_SetTextMediaDrop Changes the drop shadow options of new text samples.

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