Skip to content

TBLImageData

Data that describes a raster image. Used by TBLImage.

Definition

Unit: Blend2D

type TBLImageData = record ... end;

See Also

Fields

Name Description
Flags
Format Pixel format.
PixelData Pixel data, starting at the top left corner of the image.
Size Size of the image.
Stride Stride (in bytes) of image data (positive when image data starts at top-left, negative when it starts at bottom-left).

Methods

Name Description
Reset Resets the image data to represent an empty image (all members set to zeros).

Field Descriptions

Flags

var Flags: Cardinal

Type: Cardinal


Format

Pixel format.

var Format: TBLFormat

Type: TBLFormat


PixelData

Pixel data, starting at the top left corner of the image.

var PixelData: Pointer

Type: Pointer

Remarks

If the stride is negative the image data would start at the bottom.


Size

Size of the image.

var Size: TBLSizeI

Type: TBLSizeI


Stride

Stride (in bytes) of image data (positive when image data starts at top-left, negative when it starts at bottom-left).

var Stride: IntPtr

Type: IntPtr


Method Descriptions

Reset

Resets the image data to represent an empty image (all members set to zeros).

procedure Reset; inline