Class TAd2DMemoryBitmap

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAd2DMemoryBitmap = class(TAd2DCustomBitmap)

Description

Simple bitmap class that can be used to map an existing bitmap in memory to an Andorra 2D bitmap. This is faster than storing the bitmap data in a TAd2DBitmap before loading it to the plugin.

Hierarchy

Overview

Methods

Public constructor Create(AMemory: PByte; AWidth, AHeight: integer);

Description

Methods

Public constructor Create(AMemory: PByte; AWidth, AHeight: integer);

Creates a memory mapped bitmap. The pixels have to be in a 4-Byte BGRA format and ordered from left to right and top to bottom.

Parameters
AMemory
is a pointer to the memory region that stores the bitmap.
AWidth
is the width of the bitmap in pixels.
AHeight
is the height of the bitmap in pixels.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:31:58