An abstract pixel image. More...
#include <hpgs.h>
Data Fields | |
| hpgs_image_vtable * | vtable | 
| The virtual table.  | |
| int | width | 
| The number of pixel columns.  | |
| int | height | 
| The number of pixel rows.  | |
| hpgs_palette_color * | palette | 
| The palette for indexed images.  | |
| unsigned * | palette_idx | 
| a compacted rgb color index.  | |
| int | palette_ncolors | 
| The number of colors in the palette.  | |
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.
 1.7.1