GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Data Fields
gp_pixel_type_desc Struct Reference

A description of a gp_pixel_type Assumes name with at most 15 chars. More...

#include <gp_pixel.h>

Collaboration diagram for gp_pixel_type_desc:
Collaboration graph
[legend]

Data Fields

gp_pixel_type type
 An id of the pixel type.
 
const char name [16]
 A name e.g. xRGB8888.
 
uint8_t size
 A pixel size in bits.
 
uint8_t pack
 A pixel packing.
 
uint8_t numchannels
 A number of channels.
 
gp_pixel_flags flags
 Bitwise or of gp_pixel_flags.
 
const char bitmap [(sizeof(gp_pixel) *8)+1]
 String describing the bit-representaton (as in "RRRRRGGGGGGBBBBB")
 
const gp_pixel_channel channels [4]
 An individual channel descriptions.
 

Detailed Description

A description of a gp_pixel_type Assumes name with at most 15 chars.

Definition at line 79 of file gp_pixel.h.


The documentation for this struct was generated from the following file: