Class TBGRAPtrBitmap
Unit
Declaration
type TBGRAPtrBitmap = class(TBGRADefaultBitmap)
Description
Bitmap relying on a pointer to RGBA pixel data
Hierarchy
- TFPCustomImage
- TCustomUniversalBitmap
- TGenericUniversalBitmap
- TBGRACustomBitmap
- TBGRADefaultBitmap
- TBGRAPtrBitmap
Overview
Methods
constructor Create(AWidth, AHeight: integer; AData: Pointer); overload; |
|
function CreateDefaultFontRenderer: TBGRACustomFontRenderer; override; |
|
function GetLineOrder: TRawImageLineOrder; override; |
|
function LoadFromRawImage(ARawImage: TRawImage; DefaultOpacity: byte; AlwaysReplaceAlpha: boolean=False; RaiseErrorOnInvalidPixelFormat: boolean =True): boolean; override; |
|
procedure Assign(Source: TPersistent); override; |
|
procedure DataDrawOpaque(ACanvas: TCanvas; Rect: TRect; AData: Pointer; ALineOrder: TRawImageLineOrder; AWidth, AHeight: integer); override; |
|
procedure DataDrawTransparent(ACanvas: TCanvas; Rect: TRect; AData: Pointer; ALineOrder: TRawImageLineOrder; AWidth, AHeight: integer); override; |
|
procedure GetImageFromCanvas(CanvasSource: TCanvas; x, y: integer); override; |
|
procedure LoadFromDevice(DC: HDC; ARect: TRect); override; |
|
procedure LoadFromDevice(DC: HDC); override; |
|
procedure SetDataPtr(AData: Pointer); |
|
procedure TakeScreenshot(ARect: TRect); override; |
|
procedure TakeScreenshotOfPrimaryMonitor; override; |
|
procedure CannotResize; |
|
procedure FreeData; override; |
|
procedure NotImplemented; |
|
procedure ReallocData; override; |
|
procedure RebuildBitmap; override; |
|
procedure SetLineOrder(AValue: TRawImageLineOrder); override; |
Properties
property LineOrder: TRawImageLineOrder Read GetLineOrder Write SetLineOrder; |
Description
Methods
constructor Create(AWidth, AHeight: integer; AData: Pointer); overload; |
|
to override |
function CreateDefaultFontRenderer: TBGRACustomFontRenderer; override; |
|
This item has no description. |
function GetLineOrder: TRawImageLineOrder; override; |
|
This item has no description. |
function LoadFromRawImage(ARawImage: TRawImage; DefaultOpacity: byte; AlwaysReplaceAlpha: boolean=False; RaiseErrorOnInvalidPixelFormat: boolean =True): boolean; override; |
|
to override |
procedure Assign(Source: TPersistent); override; |
|
to override |
procedure DataDrawOpaque(ACanvas: TCanvas; Rect: TRect; AData: Pointer; ALineOrder: TRawImageLineOrder; AWidth, AHeight: integer); override; |
|
to override |
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 |
procedure GetImageFromCanvas(CanvasSource: TCanvas; x, y: integer); override; |
|
to override |
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 |
procedure LoadFromDevice(DC: HDC); override; |
|
This item has no description. Showing description inherited from TBGRACustomBitmap.LoadFromDevice. Gets the content of the specified device context |
procedure SetDataPtr(AData: Pointer); |
|
This item has no description. |
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) |
procedure TakeScreenshotOfPrimaryMonitor; override; |
|
This item has no description. Showing description inherited from TBGRACustomBitmap.TakeScreenshotOfPrimaryMonitor. Fills the content with a screenshot of the primary monitor |
procedure CannotResize; |
|
This item has no description. |
procedure FreeData; override; |
|
This item has no description. |
procedure NotImplemented; |
|
This item has no description. |
procedure ReallocData; override; |
|
This item has no description. |
procedure RebuildBitmap; override; |
|
This item has no description. |
procedure SetLineOrder(AValue: TRawImageLineOrder); override; |
|
This item has no description. |
Properties
property LineOrder: TRawImageLineOrder Read GetLineOrder Write SetLineOrder; |
|
This item has no description. |