mikroSDK Reference Manual
lv_draw_sdl_layer.h
1
6#ifndef LV_TEMPL_H
7#define LV_TEMPL_H
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/*********************
14 * INCLUDES
15 *********************/
16#include "lv_draw_sdl.h"
17
18/*********************
19 * DEFINES
20 *********************/
21
22/**********************
23 * TYPEDEFS
24 **********************/
27
28 SDL_Texture * orig_target;
29 SDL_Texture * target;
30 SDL_Rect target_rect;
31 lv_draw_layer_flags_t flags;
33/**********************
34 * GLOBAL PROTOTYPES
35 **********************/
36
37lv_draw_layer_ctx_t * lv_draw_sdl_layer_init(lv_draw_ctx_t * draw_ctx, lv_draw_layer_ctx_t * layer_ctx,
38 lv_draw_layer_flags_t flags);
39
40void lv_draw_sdl_layer_blend(lv_draw_ctx_t * draw_ctx, lv_draw_layer_ctx_t * transform_ctx,
41 const lv_draw_img_dsc_t * draw_dsc);
42
43void lv_draw_sdl_layer_destroy(lv_draw_ctx_t * draw_ctx, lv_draw_layer_ctx_t * layer_ctx);
44
45void lv_draw_sdl_transform_areas_offset(lv_draw_sdl_ctx_t * ctx, bool has_composite, lv_area_t * apply_area,
46 lv_area_t * coords, lv_area_t * clip);
47/**********************
48 * MACROS
49 **********************/
50
51#ifdef __cplusplus
52} /*extern "C"*/
53#endif
54
55#endif /*LV_TEMPL_H*/
Definition lv_draw.h:59
Definition lv_draw.h:45
Definition lv_draw_sdl_layer.h:25
Definition lv_area.h:43
Definition lv_draw_img.h:32