TRVCamMultiView.OnViewerPaint

<< Click to display table of contents >>

TRVCamMultiView.OnViewerPaint

Occurs when the component needs to paint a video frame.

type

  TRVCamViewerPaintEvent = procedure(Sender: TObject;

    Viewer: TRVCamView; ViewerIndex: Integer;

    VideoFrame : TBitmap; ACanvas : TCanvas;

    var CanDrawFrame : Boolean) of object;

property OnViewerPaint: TRVCamViewerPaintEvent;

Parameters

Viewer – a viewer component corresponding to Viewers[ViewerIndex].

ViewerIndex – an index of the viewer that needs to draw a video frame.

VideoFrame – a bitmap image containing a video frame to draw.

ACanvas – a canvas where you can draw. However, the recommended way to use this event is modifying VideoFrame.

CanDraw specifies whether the component should draw VideoFrame onto ACanvas.

See also

Viewers[].GetViewerRects()