Microchip® Advanced Software Framework

gfx_mono_bitmap Struct Reference

Storage structure for bitmap pixel data and metadata.

#include <gfx_mono_generic.h>

Data Fields

union {
   gfx_mono_color_t *   pixmap
 Pointer to pixels for bitmap stored in RAM. More...
 
   gfx_mono_color_t PROGMEM_T *   progmem
 Pointer to pixels for bitmap stored in progmem. More...
 
data
 
gfx_coord_t height
 Height of bitmap. More...
 
enum gfx_mono_bitmap_type type
 Bitmap type. More...
 
gfx_coord_t width
 Width of bitmap. More...
 

union { ... } gfx_mono_bitmap::data
gfx_coord_t gfx_mono_bitmap::height

Height of bitmap.

Referenced by gfx_mono_generic_put_bitmap(), and gfx_mono_spinctrl_draw_button().

gfx_mono_color_t* gfx_mono_bitmap::pixmap

Pointer to pixels for bitmap stored in RAM.

Referenced by gfx_mono_generic_put_bitmap().

gfx_mono_color_t PROGMEM_T* gfx_mono_bitmap::progmem

Pointer to pixels for bitmap stored in progmem.

Referenced by gfx_mono_generic_put_bitmap().

enum gfx_mono_bitmap_type gfx_mono_bitmap::type

Bitmap type.

Referenced by gfx_mono_generic_put_bitmap().

gfx_coord_t gfx_mono_bitmap::width

Width of bitmap.

Referenced by gfx_mono_generic_put_bitmap(), and gfx_mono_spinctrl_draw_button().