Class TVMRBitmap

Unit

DSPack

Declaration

type TVMRBitmap = class

Description

 

Methods

Overview

Public constructor Create(VideoWindow: TVideoWindow);
Public destructor Destroy; override;
Public procedure Draw;
Public procedure DrawTo(Left, Top, Right, Bottom, Alpha: Single; doUpdate: boolean = false);
Public procedure LoadBitmap(Bitmap: TBitmap);
Public procedure LoadEmptyBitmap(Width, Height: Integer; PixelFormat: TPixelFormat; Color: TColor);
Public procedure Update;

Description

Public constructor Create(VideoWindow: TVideoWindow);

Contructor, set the video Window where the bitmat must be paint.

Public destructor Destroy; override;

Cleanup

Public procedure Draw;

Draw the bitmap to the Video Window.

Public procedure DrawTo(Left, Top, Right, Bottom, Alpha: Single; doUpdate: boolean = false);

Draw the bitmap on a particular position.

Public procedure LoadBitmap(Bitmap: TBitmap);

Load a Bitmap from a TBitmap class.

Public procedure LoadEmptyBitmap(Width, Height: Integer; PixelFormat: TPixelFormat; Color: TColor);

Initialize with an empty bitmap.

Public procedure Update;

update the video window with the current bitmap

Properties

Overview

Public property Alpha: Single;
Public property Canvas: TCanvas;
Public property ColorKey: COLORREF;
Public property Dest: TVMR9NormalizedRect;
Public property DestBottom: Single;
Public property DestLeft: Single;
Public property DestRight: Single;
Public property DestTop: Single;
Public property Options: TVMRBitmapOptions;
Public property Source: TRect;

Description

Public property Alpha: Single;

Change Alpha Blending

Public property Canvas: TCanvas;

Uses this property to draw on the internal bitmap.

Public property ColorKey: COLORREF;

Set the color key for transparency.

Public property Dest: TVMR9NormalizedRect;

Destination

Public property DestBottom: Single;

Destination Bottom

Public property DestLeft: Single;

Destination Left

Public property DestRight: Single;

Destination Right

Public property DestTop: Single;

Destination Top

Public property Options: TVMRBitmapOptions;

VMR Bitmap Options.

Public property Source: TRect;

set the source rectangle


Generated by DIPasDoc 0.8.0 on Sun 1 Jun 2003 23:53:07