Storage structure for bitmap pixel data and metadata.
#include <gfx_generic.h>
Data Fields | |
union { | |
gfx_color_t color | |
void * custom | |
gfx_color_t * pixmap | |
gfx_color_t PROGMEM_PTR_T progmem | |
} | data |
gfx_coord_t | height |
enum gfx_bitmap_type | type |
gfx_coord_t | width |
gfx_color_t gfx_bitmap::color |
Color for solid color bitmaps
Referenced by gfx_generic_draw_bitmap_tiled(), gfx_generic_put_bitmap(), gfx_ili9488_get_pixel(), and main().
void* gfx_bitmap::custom |
External interface custom data
union { ... } gfx_bitmap::data |
Referenced by gfx_generic_draw_bitmap_tiled(), and gfx_generic_put_bitmap().
gfx_coord_t gfx_bitmap::height |
Height of bitmap
Referenced by gfx_generic_draw_bitmap(), gfx_generic_draw_bitmap_tiled(), and main().
gfx_color_t* gfx_bitmap::pixmap |
Pointer to pixels for bitmap stored in SRAM
Referenced by gfx_generic_put_bitmap().
gfx_color_t PROGMEM_PTR_T gfx_bitmap::progmem |
Pointer to pixels for bitmap stored in progmem
Referenced by gfx_generic_put_bitmap().
enum gfx_bitmap_type gfx_bitmap::type |
Bitmap type
Referenced by gfx_generic_draw_bitmap_tiled(), and gfx_generic_put_bitmap().
gfx_coord_t gfx_bitmap::width |
Width of bitmap
Referenced by gfx_generic_draw_bitmap(), gfx_generic_draw_bitmap_tiled(), gfx_generic_put_bitmap(), and main().