TRVCamView.OnPaint

<< Click to display table of contents >>

TRVCamView.OnPaint

Occurs when the component needs to paint a video frame.

type // defined in MRVType unit

  TRVCamPaintEvent = procedure(Sender : TObject; VideoFrame : TBitmap;

    ACanvas : TCanvas; var CanDrawFrame : Boolean) of object;

property OnPaint: TRVCamPaintEvent;

Parameters

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

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

CanDrawFrame specifies whether the component should draw VideoFrame onto Canvas.