Home
last modified time | relevance | path

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

/AliOS-Things-master/components/littlevgl/src/lv_misc/
A Dlv_area.c52 area_p->x1 = x1; in lv_area_set()
53 area_p->y1 = y1; in lv_area_set()
54 area_p->x2 = x2; in lv_area_set()
55 area_p->y2 = y2; in lv_area_set()
65 area_p->x2 = area_p->x1 + w - 1; in lv_area_set_width()
75 area_p->y2 = area_p->y1 + h - 1; in lv_area_set_height()
88 area_p->x1 = x; in lv_area_set_pos()
89 area_p->y1 = y; in lv_area_set_pos()
90 lv_area_set_width(area_p, w); in lv_area_set_pos()
91 lv_area_set_height(area_p, h); in lv_area_set_pos()
[all …]
A Dlv_area.h66 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);
83 static inline lv_coord_t lv_area_get_width(const lv_area_t * area_p) in lv_area_get_width() argument
85 return area_p->x2 - area_p->x1 + 1; in lv_area_get_width()
93 static inline lv_coord_t lv_area_get_height(const lv_area_t * area_p) in lv_area_get_height() argument
95 return area_p->y2 - area_p->y1 + 1; in lv_area_get_height()
103 void lv_area_set_width(lv_area_t * area_p, lv_coord_t w);
110 void lv_area_set_height(lv_area_t * area_p, lv_coord_t h);
118 void lv_area_set_pos(lv_area_t * area_p, lv_coord_t x, lv_coord_t y);
125 uint32_t lv_area_get_size(const lv_area_t * area_p);
/AliOS-Things-master/components/littlevgl/src/lv_core/
A Dlv_refr.c38 static void lv_refr_area(const lv_area_t * area_p);
100 if(area_p == NULL) { in lv_inv_area()
299 lv_refr_area_part(area_p); in lv_refr_area()
305 lv_coord_t w = lv_area_get_width(area_p); in lv_refr_area()
308area_p->y2 >= lv_disp_get_ver_res(disp_refr) ? y2 = lv_disp_get_ver_res(disp_refr) - 1 : area_p->y… in lv_refr_area()
347 vdb->area.x1 = area_p->x1; in lv_refr_area()
348 vdb->area.x2 = area_p->x2; in lv_refr_area()
353 lv_refr_area_part(area_p); in lv_refr_area()
359 vdb->area.x1 = area_p->x1; in lv_refr_area()
360 vdb->area.x2 = area_p->x2; in lv_refr_area()
[all …]
A Dlv_refr.h63 void lv_inv_area(lv_disp_t * disp, const lv_area_t * area_p);

Completed in 6 milliseconds