Home
last modified time | relevance | path

Searched refs:lv_area_t (Results 1 – 25 of 110) sorted by relevance

12345

/lvgl-3.4.0/src/misc/
Dlv_area.h48 } lv_area_t; typedef
103 void lv_area_set(lv_area_t * area_p, lv_coord_t x1, lv_coord_t y1, lv_coord_t x2, lv_coord_t y2);
110 inline static void lv_area_copy(lv_area_t * dest, const lv_area_t * src) in lv_area_copy()
123 static inline lv_coord_t lv_area_get_width(const lv_area_t * area_p) in lv_area_get_width()
133 static inline lv_coord_t lv_area_get_height(const lv_area_t * area_p) in lv_area_get_height()
143 void lv_area_set_width(lv_area_t * area_p, lv_coord_t w);
150 void lv_area_set_height(lv_area_t * area_p, lv_coord_t h);
158 void _lv_area_set_pos(lv_area_t * area_p, lv_coord_t x, lv_coord_t y);
165 uint32_t lv_area_get_size(const lv_area_t * area_p);
167 void lv_area_increase(lv_area_t * area, lv_coord_t w_extra, lv_coord_t h_extra);
[all …]
Dlv_area.c26 static bool lv_point_within_circle(const lv_area_t * area, const lv_point_t * p);
48 void lv_area_set(lv_area_t * area_p, lv_coord_t x1, lv_coord_t y1, lv_coord_t x2, lv_coord_t y2) in lv_area_set()
61 void lv_area_set_width(lv_area_t * area_p, lv_coord_t w) in lv_area_set_width()
71 void lv_area_set_height(lv_area_t * area_p, lv_coord_t h) in lv_area_set_height()
82 void _lv_area_set_pos(lv_area_t * area_p, lv_coord_t x, lv_coord_t y) in _lv_area_set_pos()
97 uint32_t lv_area_get_size(const lv_area_t * area_p) in lv_area_get_size()
106 void lv_area_increase(lv_area_t * area, lv_coord_t w_extra, lv_coord_t h_extra) in lv_area_increase()
114 void lv_area_move(lv_area_t * area, lv_coord_t x_ofs, lv_coord_t y_ofs) in lv_area_move()
129 bool _lv_area_intersect(lv_area_t * res_p, const lv_area_t * a1_p, const lv_area_t * a2_p) in _lv_area_intersect()
152 void _lv_area_join(lv_area_t * a_res_p, const lv_area_t * a1_p, const lv_area_t * a2_p) in _lv_area_join()
[all …]
/lvgl-3.4.0/src/draw/sdl/
Dlv_draw_sdl_bg.c35 static void draw_bg_color(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw…
38 static void draw_bg_img(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_a…
53 void lv_draw_sdl_draw_bg(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t in lv_draw_sdl_draw_bg()
55 const lv_area_t * clip = draw_ctx->clip_area; in lv_draw_sdl_draw_bg()
58 lv_area_t t_area; in lv_draw_sdl_draw_bg()
77 static void draw_bg_color(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw… in draw_bg_color()
92 static void draw_bg_img(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_a… in draw_bg_img()
Dlv_draw_sdl_composite.h55 …_draw_sdl_composite_begin(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords_in, const lv_area_t * …
56 … const lv_area_t * extension, lv_blend_mode_t blend_mode, lv_area_t * coords_out,
57 lv_area_t * clip_out, lv_area_t * apply_area);
59 void lv_draw_sdl_composite_end(lv_draw_sdl_ctx_t * ctx, const lv_area_t * apply_area, lv_blend_mode…
Dlv_draw_sdl_rect.c50 lv_area_t offsets;
57 static void draw_bg_color(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw…
60 static void draw_bg_img(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_a…
63 static void draw_border(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_a…
66 static void draw_shadow(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * clip,
69 static void draw_outline(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * clip,
72 … void draw_border_generic(lv_draw_sdl_ctx_t * ctx, const lv_area_t * outer_area, const lv_area_t *…
73 … const lv_area_t * clip, lv_coord_t rout, lv_coord_t rin, lv_color_t color, lv_opa_t opa,
77 const lv_area_t * coords, const lv_area_t * clipped, bool full);
80 const lv_area_t * coords, const lv_area_t * clipped, bool full);
[all …]
Dlv_draw_sdl_img.c64 static bool check_mask_simple_radius(const lv_area_t * coords, lv_coord_t * radius);
67 … const lv_draw_img_dsc_t * draw_dsc, const lv_area_t * coords, const lv_area_t * clip);
70 … const lv_draw_img_dsc_t * draw_dsc, const lv_area_t * coords, const lv_area_t * clip,
79 …draw_part(SDL_Texture * texture, const lv_draw_sdl_img_header_t * header, const lv_area_t * coords,
80 const lv_area_t * clip, SDL_Rect * clipped_src, SDL_Rect * clipped_dst);
97 const lv_area_t * coords, const void * src) in lv_draw_sdl_img_core()
99 const lv_area_t * clip = draw_ctx->clip_area; in lv_draw_sdl_img_core()
116 lv_area_t zoomed_cords; in lv_draw_sdl_img_core()
124 lv_area_t t_coords = zoomed_cords, t_clip = *clip, apply_area; in lv_draw_sdl_img_core()
149 …draw_part(SDL_Texture * texture, const lv_draw_sdl_img_header_t * header, const lv_area_t * coords, in calc_draw_part()
[all …]
Dlv_draw_sdl_composite.c42 static void dump_masks(SDL_Texture * texture, const lv_area_t * coords);
55 …_draw_sdl_composite_begin(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords_in, const lv_area_t * … in lv_draw_sdl_composite_begin()
56 … const lv_area_t * extension, lv_blend_mode_t blend_mode, lv_area_t * coords_out, in lv_draw_sdl_composite_begin()
57 lv_area_t * clip_out, lv_area_t * apply_area) in lv_draw_sdl_composite_begin()
59 lv_area_t full_coords = *coords_in; in lv_draw_sdl_composite_begin()
124 void lv_draw_sdl_composite_end(lv_draw_sdl_ctx_t * ctx, const lv_area_t * apply_area, lv_blend_mode… in lv_draw_sdl_composite_end()
223 static void dump_masks(SDL_Texture * texture, const lv_area_t * coords) in dump_masks()
Dlv_draw_sdl_mask.h37 lv_opa_t * lv_draw_sdl_mask_dump_opa(const lv_area_t * coords, const int16_t * ids, int16_t ids_cou…
39 SDL_Texture * lv_draw_sdl_mask_dump_texture(SDL_Renderer * renderer, const lv_area_t * coords, cons…
Dlv_draw_sdl_rect.h63 … const lv_area_t * coords, const lv_area_t * clip, bool full);
Dlv_draw_sdl_arc.c38 static void dump_masks(SDL_Texture * texture, const lv_area_t * coords, const int16_t * ids, int16_…
42 lv_area_t * out);
52 lv_area_t area_out; in lv_draw_sdl_draw_arc()
58 lv_area_t draw_area; in lv_draw_sdl_draw_arc()
63 lv_area_t area_in; in lv_draw_sdl_draw_arc()
97 lv_area_t start_area, end_area; in lv_draw_sdl_draw_arc()
144 static void dump_masks(SDL_Texture * texture, const lv_area_t * coords, const int16_t * ids, int16_… in dump_masks()
199 lv_area_t * out) in get_cap_area()
Dlv_draw_sdl.c22 …_sdl_draw_rect(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords);
25 const lv_area_t * coords, const void * src);
39 void lv_draw_sdl_draw_bg(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t
Dlv_draw_sdl_polygon.c38 static void dump_masks(SDL_Texture * texture, const lv_area_t * coords);
57lv_area_t poly_coords = {.x1 = LV_COORD_MAX, .y1 = LV_COORD_MAX, .x2 = LV_COORD_MIN, .y2 = LV_COOR… in lv_draw_sdl_polygon()
68 lv_area_t draw_area; in lv_draw_sdl_polygon()
100 static void dump_masks(SDL_Texture * texture, const lv_area_t * coords) in dump_masks()
/lvgl-3.4.0/src/draw/
Dlv_draw.h53 lv_area_t * buf_area;
58 const lv_area_t * clip_area;
61 …_rect)(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords);
67 … const lv_area_t * coords, const uint8_t * map_p, lv_img_cf_t color_format);
70 const lv_area_t * coords, const void * src);
86 …)(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * draw_dsc, const lv_area_t * coords);
Dlv_draw_img.c29 const lv_area_t * coords, const void * src);
31 static void show_error(lv_draw_ctx_t * draw_ctx, const lv_area_t * coords, const char * msg);
62 void lv_draw_img(lv_draw_ctx_t * draw_ctx, const lv_draw_img_dsc_t * dsc, const lv_area_t * coords,… in lv_draw_img()
219 const lv_area_t * coords, const uint8_t * map_p, lv_img_cf_t color_format) in lv_draw_img_decoded()
231 const lv_area_t * coords, const void * src) in decode_and_draw()
253 lv_area_t map_area_rot; in decode_and_draw()
267 lv_area_t clip_com; /*Common area of mask and coords*/ in decode_and_draw()
276 const lv_area_t * clip_area_ori = draw_ctx->clip_area; in decode_and_draw()
283 lv_area_t mask_com; /*Common area of mask and coords*/ in decode_and_draw()
297 const lv_area_t * clip_area_ori = draw_ctx->clip_area; in decode_and_draw()
[all …]
Dlv_draw_mask.h60 static inline bool lv_draw_mask_is_any(const lv_area_t * a) in lv_draw_mask_is_any()
173 lv_area_t rect;
188 lv_area_t coords;
203 lv_area_t coords;
310 bool lv_draw_mask_is_any(const lv_area_t * a);
359 void lv_draw_mask_radius_init(lv_draw_mask_radius_param_t * param, const lv_area_t * rect, lv_coord…
370 void lv_draw_mask_fade_init(lv_draw_mask_fade_param_t * param, const lv_area_t * coords, lv_opa_t o…
380 void lv_draw_mask_map_init(lv_draw_mask_map_param_t * param, const lv_area_t * coords, const lv_opa…
Dlv_draw_img.h62 void lv_draw_img(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_img_dsc_t * dsc, const lv_area_t *…
67 const lv_area_t * coords, const uint8_t * map_p, lv_img_cf_t color_format);
/lvgl-3.4.0/zephyr/
Dlvgl_display.h24 const lv_area_t *area, lv_color_t *color_p);
26 const lv_area_t *area, lv_color_t *color_p);
28 const lv_area_t *area, lv_color_t *color_p);
30 const lv_area_t *area, lv_color_t *color_p);
45 void lvgl_rounder_cb_mono(lv_disp_drv_t *disp_drv, lv_area_t *area);
/lvgl-3.4.0/src/draw/nxp_vglite/
Dlv_gpu_nxp_vglite.h94 lv_area_t src_area; /**< Area to be copied from source*/
100 lv_area_t dst_area; /**< Target area in destination buffer (must be the same as src_area)*/
129 const lv_area_t * fill_area, lv_color_t color, lv_opa_t opa);
/lvgl-3.4.0/src/draw/sw/
Dlv_draw_sw.h51 void lv_draw_sw_rect(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * co…
53 void lv_draw_sw_bg(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coor…
58 … const lv_area_t * coords, const uint8_t * src_buf, lv_img_cf_t cf);
Dlv_draw_sw_blend.h30 … const lv_area_t * blend_area; /**< The area with absolute coordinates to draw on `draw_ctx->buf`
36 const lv_area_t * mask_area; /**< The area of `mask_buf` with absolute coordinates*/
Dlv_draw_sw_rect.c31 static void draw_bg(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coo…
32 static void draw_bg_img(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t *…
33 static void draw_border(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t *…
35 static void draw_outline(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t
39 const lv_area_t * coords);
40 LV_ATTRIBUTE_FAST_MEM static void shadow_draw_corner_buf(const lv_area_t * coords, uint16_t * sh_bu…
45 void draw_border_generic(lv_draw_ctx_t * draw_ctx, const lv_area_t * outer_area, const lv_area_t * …
48 … void draw_border_simple(lv_draw_ctx_t * draw_ctx, const lv_area_t * outer_area, const lv_area_t *…
69 void lv_draw_sw_rect(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * co… in lv_draw_sw_rect()
85 void lv_draw_sw_bg(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coor… in lv_draw_sw_bg()
[all …]
/lvgl-3.4.0/src/core/
Dlv_obj_pos.h210 void lv_obj_get_coords(const struct _lv_obj_t * obj, lv_area_t * coords);
317 void lv_obj_get_content_coords(const struct _lv_obj_t * obj, lv_area_t * area);
357 void lv_obj_invalidate_area(const struct _lv_obj_t * obj, const lv_area_t * area);
371 bool lv_obj_area_is_visible(const struct _lv_obj_t * obj, lv_area_t * area);
393 void lv_obj_get_click_area(const struct _lv_obj_t * obj, lv_area_t * area);
Dlv_refr.c55 static void lv_refr_area(const lv_area_t * area_p);
57 static lv_obj_t * lv_refr_get_top_obj(const lv_area_t * area_p, lv_obj_t * obj);
61 static void call_flush_cb(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t * color_p);
132 const lv_area_t * clip_area_ori = draw_ctx->clip_area; in lv_refr_obj()
133 lv_area_t clip_coords_for_obj; in lv_refr_obj()
136 lv_area_t obj_coords_ext; in lv_refr_obj()
164 lv_area_t clip_coords_for_children; in lv_refr_obj()
200 void _lv_inv_area(lv_disp_t * disp, const lv_area_t * area_p) in _lv_inv_area()
211 lv_area_t scr_area; in _lv_inv_area()
217 lv_area_t com_area; in _lv_inv_area()
[all …]
/lvgl-3.4.0/src/draw/stm32_dma2d/
Dlv_gpu_stm32_dma2d.c45 …_stm32_dma2d_blend_fill(lv_color_t * dest_buf, lv_coord_t dest_stride, const lv_area_t * fill_area,
49 static void lv_draw_stm32_dma2d_blend_map(lv_color_t * dest_buf, const lv_area_t * dest_area, lv_co…
53 … const lv_area_t * coords, const uint8_t * map_p, lv_img_cf_t color_format);
118 lv_area_t blend_area; in lv_draw_stm32_dma2d_blend()
151 … const lv_area_t * coords, const uint8_t * map_p, lv_img_cf_t color_format) in lv_draw_stm32_dma2d_img_decoded()
158 …_stm32_dma2d_blend_fill(lv_color_t * dest_buf, lv_coord_t dest_stride, const lv_area_t * fill_area, in lv_draw_stm32_dma2d_blend_fill()
179 static void lv_draw_stm32_dma2d_blend_map(lv_color_t * dest_buf, const lv_area_t * dest_area, lv_co… in lv_draw_stm32_dma2d_blend_map()
/lvgl-3.4.0/src/widgets/
Dlv_btnmatrix.h51 typedef bool (*lv_btnmatrix_btn_draw_cb_t)(lv_obj_t * btnm, uint32_t btn_id, const lv_area_t * draw…
52 const lv_area_t * clip_area);
58 lv_area_t * button_areas; /*Array of areas of buttons*/

12345