mikroSDK Reference Manual
lv_snapshot.h
Go to the documentation of this file.
1
6
#ifndef LV_SNAPSHOT_H
7
#define LV_SNAPSHOT_H
8
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
13
/*********************
14
* INCLUDES
15
*********************/
16
#include <stdint.h>
17
#include <stddef.h>
18
19
#include "
../../../lv_conf_internal.h
"
20
#include "
../../../core/lv_obj.h
"
21
22
/*********************
23
* DEFINES
24
*********************/
25
26
#if LV_USE_SNAPSHOT
27
/**********************
28
* TYPEDEFS
29
**********************/
30
31
/**********************
32
* GLOBAL PROTOTYPES
33
**********************/
34
42
lv_img_dsc_t
* lv_snapshot_take(
lv_obj_t
* obj, lv_img_cf_t cf);
43
51
void
lv_snapshot_free(
lv_img_dsc_t
* dsc);
52
60
uint32_t lv_snapshot_buf_size_needed(
lv_obj_t
* obj, lv_img_cf_t cf);
61
72
lv_res_t lv_snapshot_take_to_buf(
lv_obj_t
* obj, lv_img_cf_t cf,
lv_img_dsc_t
* dsc,
void
* buf, uint32_t buff_size);
73
74
75
/**********************
76
* MACROS
77
**********************/
78
#endif
/*LV_USE_SNAPSHOT*/
79
80
#ifdef __cplusplus
81
}
/*extern "C"*/
82
#endif
83
84
#endif
lv_conf_internal.h
lv_obj.h
_lv_obj_t
Definition
lv_obj.h:174
lv_img_dsc_t
Definition
lv_img_buf.h:141