![]() |
GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
A cursor pixmap. More...
#include <gp_cursor.h>
Data Fields | |
int8_t | x_off |
Offset to start drawing the cursor in pixels. | |
uint8_t | w |
Cursor pixmap size in pixels. | |
uint8_t * | pixmap |
A cursor pixmap. | |
A cursor pixmap.
Definition at line 18 of file gp_cursor.h.
uint8_t* gp_cursor::pixmap |
A cursor pixmap.
Four pixels per byte with value:
The rows have to be byte aligned.
0 - do not draw anything 1 - foreground (all pixel bits set to 1) 2 - background (all pixel bits set to 0)
Definition at line 38 of file gp_cursor.h.
int8_t gp_cursor::x_off |
Offset to start drawing the cursor in pixels.
Defines an offset of the cursor pixmap to the cursor position.
Definition at line 24 of file gp_cursor.h.