Class TCEFBitmapBitBuffer

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TCEFBitmapBitBuffer = class(TObject)

Description

Class that stores a copy of the raw bitmap buffer sent by CEF in the TChromiumCore.OnPaint event.

Hierarchy

Overview

Fields

Protected FBuffer: pointer;
Protected FImageWidth: integer;
Protected FImageHeight: integer;
Protected FBufferWidth: integer;
Protected FBufferHeight: integer;

Methods

Protected function GetBufferScanlineSize: integer;
Protected function GetScanlineSize: integer;
Protected function GetBufferLength: integer;
Protected function GetEmpty: boolean;
Protected function GetScanline(y : integer) : PByte;
Protected procedure CreateBuffer;
Protected procedure DestroyBuffer;
Public constructor Create(aWidth, aHeight : integer);
Public destructor Destroy; override;
Public procedure UpdateSize(aWidth, aHeight : integer);

Properties

Public property Width : integer read FImageWidth;
Public property Height : integer read FImageHeight;
Public property BufferLength : integer read GetBufferLength;
Public property Empty : boolean read GetEmpty;
Public property Scanline[y: integer]: PByte read GetScanline;
Public property ScanlineSize : integer read GetScanlineSize;
Public property BufferScanlineSize : integer read GetBufferScanlineSize;
Public property BufferBits : pointer read FBuffer;

Description

Fields

Protected FBuffer: pointer;

This item has no description.

Protected FImageWidth: integer;

This item has no description.

Protected FImageHeight: integer;

This item has no description.

Protected FBufferWidth: integer;

This item has no description.

Protected FBufferHeight: integer;

This item has no description.

Methods

Protected function GetBufferScanlineSize: integer;

This item has no description.

Protected function GetScanlineSize: integer;

This item has no description.

Protected function GetBufferLength: integer;

This item has no description.

Protected function GetEmpty: boolean;

This item has no description.

Protected function GetScanline(y : integer) : PByte;

This item has no description.

Protected procedure CreateBuffer;

This item has no description.

Protected procedure DestroyBuffer;

This item has no description.

Public constructor Create(aWidth, aHeight : integer);

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public procedure UpdateSize(aWidth, aHeight : integer);

Updates the image size.

Properties

Public property Width : integer read FImageWidth;

Image width.

Public property Height : integer read FImageHeight;

Image height.

Public property BufferLength : integer read GetBufferLength;

Buffer length.

Public property Empty : boolean read GetEmpty;

Returns true if the buffer is empty.

Public property Scanline[y: integer]: PByte read GetScanline;

Returns a pointer to the first byte in of the Y scnaline.

Public property ScanlineSize : integer read GetScanlineSize;

Returns the scanline size.

Public property BufferScanlineSize : integer read GetBufferScanlineSize;

Returns the real buffer scanline size.

Public property BufferBits : pointer read FBuffer;

Returns a pointer to the buffer that stores the image.


Generated by PasDoc 0.16.0-snapshot.