Overlay (mix) two frames with alpha, the position is from top-left corner, for 4:2:2 images (e.g. UYVY) horz position aligned by two (e.g.
21->20). Note: For ARGB32 images, alpha from images used for mix.
Syntax
Sub FrameOverlay( _
ByVal As MFrame, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Double, _
ByVal As String _
)
void FrameOverlay(
MFrame ,
int ,
int ,
double ,
string
)
procedure FrameOverlay(
: MFrame;
: Integer;
: Integer;
: Double;
: String
);
void FrameOverlay(
MFrame* ,
int ,
int ,
double ,
BSTR*
)
Parameters
- _pFrameOver
- frame that overlays the source frame
- _nPosX
- X position of frame
- _nPosY
- Y position of frame
- _dblAlpha
- transparency: 0.0 - transparent (no mix), 1.0 - solid
- _bsPropsList
- additional properties
Example
See Also