Revision 208
changed graph
graph.h | ||
---|---|---|
18 | 18 |
/// PUBLIC GET |
19 | 19 |
uint16_t (graph_get_XRes) (void); |
20 | 20 |
uint16_t (graph_get_YRes) (void); |
21 |
uint16_t (graph_get_bytes_pixel) (void); |
|
21 | 22 |
|
22 | 23 |
/// INIT |
23 | 24 |
int (graph_init)(uint16_t mode); |
... | ... | |
27 | 28 |
|
28 | 29 |
/// PIXEL DRAWING |
29 | 30 |
int (graph_set_pixel) (uint16_t x, uint16_t y, uint32_t color); |
30 |
int (graph_set_pixel_buffer) (uint16_t x, uint16_t y, uint32_t color, uint8_t *buf, uint16_t W, uint16_t H); |
|
31 |
int (graph_set_pixel_alpha_buffer)(uint16_t x, uint16_t y, uint8_t alpha, uint8_t *alp_buf, uint16_t W, uint16_t H); |
|
32 |
//int (graph_set_pixel_alpha) (uint16_t x, uint16_t y, uint32_t color, uint8_t alpha); |
|
31 |
void (graph_set_pixel_pos) (unsigned pos , uint32_t color); |
|
33 | 32 |
|
34 | 33 |
/// SCREEN |
35 | 34 |
int (graph_clear_screen)(void); |
Also available in: Unified diff