Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PgMap_t

Alpha blend map type

Synopsis:

  typedef struct _Pg_map {
          PhDim_t        dim;
          short unsigned bpl;
          short unsigned bpp;
          char *map;
          } PgMap_t;

Description:

The PgMap_t structure defines an alpha blend map. Its members include:

dim
A PhDim_t structure that defines the size of area covered by the map, in pixels.
bpl
The number of bytes per line.
bpp
The number of bits per pixel.
map
A pointer to the map itself.

Classification:

Photon

See also:

PgAlphaOff(), PgAlphaOn(), PgColor_t, PgSetAlpha(), PgSetAlphaBlend(), PhDim_t

Alpha Blending Support in the Raw Drawing and Animation chapter of the Photon Programmer's Guide