Data Fields

hpgs_image_st Struct Reference
[The public pixel image API.]

An abstract pixel image. More...

#include <hpgs.h>

Data Fields

 The virtual table.
int width
 The number of pixel columns.
int height
 The number of pixel rows.
 The palette for indexed images.
unsigned * palette_idx
 a compacted rgb color index.
int palette_ncolors
 The number of colors in the palette.

Detailed Description

An abstract pixel image.

This structure has a public alias hpgs_image and represents a rectangular pixel container, which tradiationally is called an image.

Nevertheless, implementations for drawing to a window system may be provided in the future.

The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines