px-fwlib
0.10.0
Cross-platform embedded library and documentation for 8/16/32-bit microcontrollers
generated with
Doxygen
1.9.2
px_gfx_disp.h
1
#ifndef __PX_GFX_DISPLAY_H__
2
#define __PX_GFX_DISPLAY_H__
3
/* =============================================================================
4
____ ___ ____ ___ _ _ ___ __ __ ___ __ __ TM
5
| _ \ |_ _| / ___| / _ \ | \ | | / _ \ | \/ | |_ _| \ \/ /
6
| |_) | | | | | | | | | | \| | | | | | | |\/| | | | \ /
7
| __/ | | | |___ | |_| | | |\ | | |_| | | | | | | | / \
8
|_| |___| \____| \___/ |_| \_| \___/ |_| |_| |___| /_/\_\
9
10
Copyright (c) 2019 Pieter Conradie <https://piconomix.com>
11
12
License: MIT
13
https://github.com/piconomix/px-fwlib/blob/master/LICENSE.md
14
15
Title: px_gfx_disp.h : Glue layer to physical display
16
Author(s): Pieter Conradie
17
Creation Date: 2019-05-28
18
19
============================================================================= */
20
21
/**
22
* @addtogroup GFX
23
*
24
* @{
25
*/
26
27
/* _____STANDARD INCLUDES____________________________________________________ */
28
29
/* _____PROJECT INCLUDES_____________________________________________________ */
30
#include "px_defs.h"
31
#include "px_gfx.h"
32
33
#ifdef __cplusplus
34
extern
"C"
35
{
36
#endif
37
/* _____DEFINITIONS__________________________________________________________ */
38
39
/* _____TYPE DEFINITIONS_____________________________________________________ */
40
41
/* _____GLOBAL VARIABLES_____________________________________________________ */
42
43
/* _____GLOBAL FUNCTION DECLARATIONS_________________________________________ */
44
void
px_gfx_disp_buf_clear (
void
);
45
void
px_gfx_disp_buf_pixel (
px_gfx_xy_t
x,
46
px_gfx_xy_t
y,
47
px_gfx_color_t
color);
48
void
px_gfx_disp_update (
const
px_gfx_area_t
* area);
49
void
px_gfx_disp_log_report_buf(
void
);
50
51
/* _____MACROS_______________________________________________________________ */
52
53
#ifdef __cplusplus
54
}
55
#endif
56
57
/// @}
58
#endif
px_gfx_color_t
px_gfx_color_t
Foreground and background color definitions.
Definition:
px_gfx.h:85
px_gfx_xy_t
int16_t px_gfx_xy_t
Size definition of an X or Y coordinate.
Definition:
px_gfx.h:71
px_gfx_area_t
Area definition.
Definition:
px_gfx.h:132