Main Page Data Structures File List Data Fields Globals Related Pages

# Bitmap Struct Reference

Structure for in-memory bitmaps. More...

`#include <bitmap.h>`

## Data Fields
int | width
int | height
unsigned | bmBitsSize
char | bmBits []

## Detailed Description

Structure for in-memory bitmaps.

This structure is somewhat special, because the bmBits do directly follow the width and height entries. So be careful, and use BM_Alloc/Free to handle Bitmap structures.

The reason behind this is, that the Bitmap structure and its bmBits can be adressed by using a single segment register.

bmBitsSize will will be set to the size of the bmBits part by BM_Alloc() (and should always be a multiple of two).

Definition at line 93 of file bitmap.h.

## Field Documentation

char Bitmap::bmBits[]

| Definition at line 96 of file bitmap.h. Referenced by BM_Clear(), BM_Copy(), BM_FastBlit(), BM_GetPixel(), BM_Invert(), BM_Load(), BM_PutPixel(), BM_Save(), GFX_FillRect(), GFX_HLine(), GFX_LineX(), GFX_VLine(), and LCD_Update().

unsigned Bitmap::bmBitsSize

| Definition at line 95 of file bitmap.h. Referenced by BM_Alloc(), BM_Clear(), BM_Copy(), BM_Free(), BM_Invert(), and BM_Load().

int Bitmap::height

| Definition at line 94 of file bitmap.h. Referenced by BM_Alloc(), BM_Blit(), BM_Copy(), BM_FastBlit(), BM_Free(), BM_GetPixel(), BM_Load(), BM_PutPixel(), BM_Save(), GFX_FillRect(), GFX_HLine(), GFX_VLine(), and gfxTest().

int Bitmap::width

| Definition at line 94 of file bitmap.h. Referenced by BM_Alloc(), BM_Blit(), BM_Copy(), BM_FastBlit(), BM_Free(), BM_GetPixel(), BM_Load(), BM_PutPixel(), BM_Save(), GFX_FillRect(), GFX_HLine(), GFX_LineX(), GFX_VLine(), gfxTest(), and LCD_Update().

The documentation for this struct was generated from the following file:

- bitmap.h