Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_palette_t.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_palette_t.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_palette_t.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_palette_t.html on line 8

gf_palette_t

A QNX Graphics Framework palette

Synopsis:

#include <gf/gf.h>

typedef struct {
        int ncolors;
        gf_color_t *colors;
} gf_palette_t;

Description:

The gf_palette_t structure defines a color palette associated with a surface. It contains at least the following members:

ncolors
The number of colors in the colors array.
colors
Pointer to an array of ncolors colors, of type gf_color_t.

The gf_color_t Type

A gf_color_t is a generic 32-bit color argument used by the GF library. This type is assumed to be native endian, with the following components:

Classification:

QNX Graphics Framework

See also:

gf_surface_attach(), gf_surface_attach_by_sid(), gf_surface_create(), gf_surface_create_layer()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_palette_t.html on line 105

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_palette_t.html on line 105