PhAB bitmap structure
#include <Ap.h>
typedef struct {
short nplanes;
short nbytes;
PgColor_t *colors;
char **data;
} ApBitmap_t;
This data structure describes a PhAB bitmap. The members include at least:
- nplanes
- The number of bitmap planes. Each plane has one associated color
in the color list.
- nbytes
- The number of bytes used by each bitmap plane.
- colors
- An array of colors corresponding to the number of planes.
For example:
color[0] = Color of plane 0
color[1] = Color of plane 1
...
- data
- The bitmap image data. The format of the data is a series of
1-bit-per-pixel planes.
Photon
ApFreeBitmapRes(),
ApGetBitmapRes()