Media Player SDK
|
Draws an image on the selected layer.
function OSD_Layers_Draw_ImageFromFile_TransEx(ID: Integer; Filename: WideString; SrcLeft: Integer; SrcTop: Integer; SrcWidth: Integer; SrcHeight: Integer; DestLeft: Integer; DestTop: Integer; DestWidth: Integer; DestHeight: Integer; ColorKey: TColor): Boolean;
__fastcall Boolean OSD_Layers_Draw_ImageFromFile_TransEx(int ID, BSTR Filename, int SrcLeft, int SrcTop, int SrcWidth, int SrcHeight, int DestLeft, int DestTop, int DestWidth, int DestHeight, TColor ColorKey);
public Boolean OSD_Layers_Draw_ImageFromFile_TransEx(int ID, String Filename, int SrcLeft, int SrcTop, int SrcWidth, int SrcHeight, int DestLeft, int DestTop, int DestWidth, int DestHeight, TColor ColorKey);
Public Function OSD_Layers_Draw_ImageFromFile_TransEx(ID As Integer, Filename As String, SrcLeft As Integer, SrcTop As Integer, SrcWidth As Integer, SrcHeight As Integer, DestLeft As Integer, DestTop As Integer, DestWidth As Integer, DestHeight As Integer, ColorKey As TColor) As Boolean
public Boolean OSD_Layers_Draw_ImageFromFile_TransEx(int ID, string Filename, int SrcLeft, int SrcTop, int SrcWidth, int SrcHeight, int DestLeft, int DestTop, int DestWidth, int DestHeight, TColor ColorKey);
Boolean OSD_Layers_Draw_ImageFromFile_TransEx(int ID, BSTR Filename, int SrcLeft, int SrcTop, int SrcWidth, int SrcHeight, int DestLeft, int DestTop, int DestWidth, int DestHeight, TColor ColorKey);
OSD_Layers_Draw_ImageFromFile_TransEx
Parameters |
Description |
ID: Integer |
ID. |
Filename: WideString |
File name. |
SrcLeft: Integer |
Source left. |
SrcTop: Integer |
Source top. |
SrcWidth: Integer |
Source width. |
SrcHeight: Integer |
Source height. |
DestLeft: Integer |
Destination left. |
DestTop: Integer |
Destination top. |
DestWidth: Integer |
Destination width. |
DestHeight: Integer |
Destination height. |
ColorKey: TColor |
Color key. |
Returns if operation was successful, otherwise method returns .
Copyright (c) 2013. All rights reserved.
|
What do you think about this topic? Send feedback!
|