Home
last modified time | relevance | path

Searched refs:area_p (Results 1 – 4 of 4) sorted by relevance

/lvgl-latest/src/misc/
Dlv_area.h103 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);
123 static inline lv_coord_t lv_area_get_width(const lv_area_t * area_p) in lv_area_get_width() argument
125 return (lv_coord_t)(area_p->x2 - area_p->x1 + 1); 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() argument
135 return (lv_coord_t)(area_p->y2 - area_p->y1 + 1); 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);
Dlv_area.c48 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() argument
50 area_p->x1 = x1; in lv_area_set()
51 area_p->y1 = y1; in lv_area_set()
52 area_p->x2 = x2; in lv_area_set()
53 area_p->y2 = 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() argument
63 area_p->x2 = area_p->x1 + w - 1; 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() argument
73 area_p->y2 = area_p->y1 + h - 1; 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() argument
[all …]
/lvgl-latest/src/core/
Dlv_refr.c57 static void refr_area(const lv_area_t * area_p);
59 static lv_obj_t * lv_refr_get_top_obj(const lv_area_t * area_p, lv_obj_t * obj);
205 void _lv_inv_area(lv_disp_t * disp, const lv_area_t * area_p) in _lv_inv_area() argument
217 if(area_p == NULL) { in _lv_inv_area()
231 suc = _lv_area_intersect(&com_area, area_p, &scr_area); in _lv_inv_area()
629 static void refr_area(const lv_area_t * area_p) in refr_area() argument
648 draw_ctx->clip_area = area_p; in refr_area()
656 lv_coord_t w = lv_area_get_width(area_p); in refr_area()
657 lv_coord_t h = lv_area_get_height(area_p); in refr_area()
658 lv_coord_t y2 = area_p->y2 >= lv_disp_get_ver_res(disp_refr) ? in refr_area()
[all …]
Dlv_refr.h72 void _lv_inv_area(lv_disp_t * disp, const lv_area_t * area_p);