Mixer_SetupPIPFromSource
function Mixer_SetupPIPFromSource (SourceUniqueID: LongInt; Source_Left: LongInt; Source_Top: LongInt; Source_Width: LongInt; Source_Height: LongInt; ActivatePIP: Boolean; PIP_Left: LongInt; PIP_Top: LongInt; PIP_Width: LongInt; PIP_Height: LongInt; MoveToTop: Boolean): LongInt;
System::LongInt __fastcall Mixer_SetupPIPFromSource(System::LongInt SourceUniqueID, System::LongInt Source_Left, System::LongInt Source_Top, System::LongInt Source_Width, System::LongInt Source_Height, bool ActivatePIP, System::LongInt PIP_Left, System::LongInt PIP_Top, System::LongInt PIP_Width, System::LongInt PIP_Height, bool MoveToTop);
public int Mixer_SetupPIPFromSource(int SourceUniqueID, int Source_Left, int Source_Top, int Source_Width, int Source_Height, bool ActivatePIP, int PIP_Left, int PIP_Top, int PIP_Width, int PIP_Height, bool MoveToTop);
Public Function Mixer_SetupPIPFromSource(SourceUniqueID As Integer, Source_Left As Integer, Source_Top As Integer, Source_Width As Integer, Source_Height As Integer, ActivatePIP As Boolean, PIP_Left As Integer, PIP_Top As Integer, PIP_Width As Integer, PIP_Height As Integer, MoveToTop As Boolean) As Integer
int Mixer_SetupPIPFromSource (int SourceUniqueID, int Source_Left, int Source_Top, int Source_Width, int Source_Height, BOOL ActivatePIP, int PIP_Left, int PIP_Top, int PIP_Width, int PIP_Height, BOOL MoveToTop);
Sets up a TVideoGrabber component to receive the whole video frames (or a cropped part of these video frames) from another TVideoGrabber component, and to display them in "PIP" mode (Picture In Picture), at any location or size in the destination video frame.
Parameters:
-
The "Source_..." parameters specify a "rectangle part" of the source video frame that is displayed in the destination video frame. Specifying 0, 0, 0, 0 means sending the whole source video frame.
-
The "PIP_..." parameters specify a "rectangle part" of the destination video frame where the source is displayed in "PIP" mode.
SourceUniqueID: LongInt; specifies the UniqueID property of the TVideoGrabber component that must send the video frames.
Source_Left: LongInt; left location in the source video frame.
Source_Top: LongInt; top location in the source video frame.
Source_Width: LongInt; width of the source rectangle (set to 0 to let TVideoGrabber automatically use the full width of the source video frame).
Source_Height: LongInt; height of the source rectangle (set to 0 to let TVideoGrabber automatically use the full height of the source video frame).
ActivatePIP: Boolean; specifies if the PIP display must be activated or not.
PIP_Left: LongInt; left location of the PIP on the destination video frame.
PIP_Top: LongInt; top location of the PIP on the destination video frame.
PIP_Width: LongInt; width of the PIP on the destination video frame.
PIP_Height: LongInt; height of the PIP on the destination video frame.
MoveToTop: Boolean; must be set to true if several PIPs partially overlap and this one should appear above the others.
Return value: LongInt; identifier of the mixer relation. This value is required e.g. by Mixer_Activation to activate/deactivate this PIP on the fly.