Class TBGRAPtrBitmap

Unit

Declaration

type TBGRAPtrBitmap = class(TBGRADefaultBitmap)

Description

Bitmap relying on a pointer to RGBA pixel data

Hierarchy

Overview

Methods

Public constructor Create(AWidth, AHeight: integer; AData: Pointer); overload;
Protected function CreateDefaultFontRenderer: TBGRACustomFontRenderer; override;
Protected function GetLineOrder: TRawImageLineOrder; override;
Protected function LoadFromRawImage(ARawImage: TRawImage; DefaultOpacity: byte; AlwaysReplaceAlpha: boolean=False; RaiseErrorOnInvalidPixelFormat: boolean =True): boolean; override;
Public procedure Assign(Source: TPersistent); override;
Public procedure DataDrawOpaque(ACanvas: TCanvas; Rect: TRect; AData: Pointer; ALineOrder: TRawImageLineOrder; AWidth, AHeight: integer); override;
Public procedure DataDrawTransparent(ACanvas: TCanvas; Rect: TRect; AData: Pointer; ALineOrder: TRawImageLineOrder; AWidth, AHeight: integer); override;
Public procedure GetImageFromCanvas(CanvasSource: TCanvas; x, y: integer); override;
Public procedure LoadFromDevice(DC: HDC; ARect: TRect); override;
Public procedure LoadFromDevice(DC: HDC); override;
Public procedure SetDataPtr(AData: Pointer);
Public procedure TakeScreenshot(ARect: TRect); override;
Public procedure TakeScreenshotOfPrimaryMonitor; override;
Protected procedure CannotResize;
Protected procedure FreeData; override;
Protected procedure NotImplemented;
Protected procedure ReallocData; override;
Protected procedure RebuildBitmap; override;
Protected procedure SetLineOrder(AValue: TRawImageLineOrder); override;

Properties

Public property LineOrder: TRawImageLineOrder Read GetLineOrder Write SetLineOrder;

Description

Methods

Public constructor Create(AWidth, AHeight: integer; AData: Pointer); overload;

to override

Protected function CreateDefaultFontRenderer: TBGRACustomFontRenderer; override;

This item has no description.

Protected function GetLineOrder: TRawImageLineOrder; override;

This item has no description.

Protected function LoadFromRawImage(ARawImage: TRawImage; DefaultOpacity: byte; AlwaysReplaceAlpha: boolean=False; RaiseErrorOnInvalidPixelFormat: boolean =True): boolean; override;

to override

Public procedure Assign(Source: TPersistent); override;

to override

Public procedure DataDrawOpaque(ACanvas: TCanvas; Rect: TRect; AData: Pointer; ALineOrder: TRawImageLineOrder; AWidth, AHeight: integer); override;

to override

Public procedure DataDrawTransparent(ACanvas: TCanvas; Rect: TRect; AData: Pointer; ALineOrder: TRawImageLineOrder; AWidth, AHeight: integer); override;

This item has no description. Showing description inherited from TBGRACustomBitmap.DataDrawTransparent.

Canvas drawing functions

Public procedure GetImageFromCanvas(CanvasSource: TCanvas; x, y: integer); override;

to override

Public procedure LoadFromDevice(DC: HDC; ARect: TRect); override;

This item has no description. Showing description inherited from TBGRACustomBitmap.LoadFromDevice.

Gets the content from the specified rectangular area of a device context

Public procedure LoadFromDevice(DC: HDC); override;

This item has no description. Showing description inherited from TBGRACustomBitmap.LoadFromDevice.

Gets the content of the specified device context

Public procedure SetDataPtr(AData: Pointer);

This item has no description.

Public procedure TakeScreenshot(ARect: TRect); override;

This item has no description. Showing description inherited from TBGRACustomBitmap.TakeScreenshot.

Fills the content with a screenshot of the specified rectangular area of the desktop (it can be from any screen)

Public procedure TakeScreenshotOfPrimaryMonitor; override;

This item has no description. Showing description inherited from TBGRACustomBitmap.TakeScreenshotOfPrimaryMonitor.

Fills the content with a screenshot of the primary monitor

Protected procedure CannotResize;

This item has no description.

Protected procedure FreeData; override;

This item has no description.

Protected procedure NotImplemented;

This item has no description.

Protected procedure ReallocData; override;

This item has no description.

Protected procedure RebuildBitmap; override;

This item has no description.

Protected procedure SetLineOrder(AValue: TRawImageLineOrder); override;

This item has no description.

Properties

Public property LineOrder: TRawImageLineOrder Read GetLineOrder Write SetLineOrder;

This item has no description.