Represents an image in ram.
Source position: agraphics.pas line 59
type TBitMap = record |
||
BytesPerRow: Word; |
|
Width of a line it Bytes (To get the width of the Bitmap in pixels you have to multiply this value with 8 and divide by the Depth.) |
Rows: Word; |
|
Number of lines in the Bitmap |
Flags: Byte; |
|
Flags for the bitmap when created on AllocBitmap (BMF_*) |
Depth: Byte; |
|
Number of Bitplanes |
Pad: Word; |
|
Padding byte |
Planes: array [0..7] of PByte; |
|
Pointer to the bitplanes. Depth defines how many pointers |
end; |
Drawing to a Bitmap is mostly done by drawing on a TRastPort with the linked Bitmap TRastPort.Bitmap.
|
Allocate a bitmap and attach bitplanes to it. |
|
|
Free a bitmap created by AllocBitMap() |
|
|
Allocate sprite data and convert from a bitmap. |
|
|
Move a rectangular region of bits in a BitMap. |
|
|
Blit from source bitmap to destination rastport. |
|
|
Blit from source bitmap to destination rastport with masking of source image. |
|
|
Change display memory address for multi-buffered animation |
|
|
Returns information about a bitmap |
|
|
Initialize bit map structure with input values. |
|
|
Basic structure for all drawing actions |