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
10extern "C" {
11#endif
12
13/*********************
14 * INCLUDES
15 *********************/
16#include <stdint.h>
17#include <stddef.h>
18
21
22/*********************
23 * DEFINES
24 *********************/
25
26#if LV_USE_SNAPSHOT
27/**********************
28 * TYPEDEFS
29 **********************/
30
31/**********************
32 * GLOBAL PROTOTYPES
33 **********************/
34
42lv_img_dsc_t * lv_snapshot_take(lv_obj_t * obj, lv_img_cf_t cf);
43
51void lv_snapshot_free(lv_img_dsc_t * dsc);
52
60uint32_t lv_snapshot_buf_size_needed(lv_obj_t * obj, lv_img_cf_t cf);
61
72lv_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
Definition lv_obj.h:174
Definition lv_img_buf.h:141