Lines Matching refs:rect
268 … if(!_lv_area_is_out(a, &radius_param->cfg.rect, radius_param->cfg.radius)) return true; in lv_draw_mask_is_any()
271 … if(!_lv_area_is_in(a, &radius_param->cfg.rect, radius_param->cfg.radius)) return true; in lv_draw_mask_is_any()
475 void lv_draw_mask_radius_init(lv_draw_mask_radius_param_t * param, const lv_area_t * rect, lv_coord… in lv_draw_mask_radius_init() argument
477 lv_coord_t w = lv_area_get_width(rect); in lv_draw_mask_radius_init()
478 lv_coord_t h = lv_area_get_height(rect); in lv_draw_mask_radius_init()
483 lv_area_copy(¶m->cfg.rect, rect); in lv_draw_mask_radius_init()
1058 lv_area_t rect; in lv_draw_mask_radius() local
1059 lv_area_copy(&rect, &p->cfg.rect); in lv_draw_mask_radius()
1062 if((abs_y < rect.y1 || abs_y > rect.y2)) { in lv_draw_mask_radius()
1067 if(abs_y < rect.y1 || abs_y > rect.y2) { in lv_draw_mask_radius()
1072 if((abs_x >= rect.x1 + radius && abs_x + len <= rect.x2 - radius) || in lv_draw_mask_radius()
1073 (abs_y >= rect.y1 + radius && abs_y <= rect.y2 - radius)) { in lv_draw_mask_radius()
1076 int32_t last = rect.x1 - abs_x; in lv_draw_mask_radius()
1082 int32_t first = rect.x2 - abs_x + 1; in lv_draw_mask_radius()
1091 int32_t first = rect.x1 - abs_x; in lv_draw_mask_radius()
1094 int32_t last = rect.x2 - abs_x - first + 1; in lv_draw_mask_radius()
1110 int32_t k = rect.x1 - abs_x; /*First relevant coordinate on the of the mask*/ in lv_draw_mask_radius()
1111 int32_t w = lv_area_get_width(&rect); in lv_draw_mask_radius()
1112 int32_t h = lv_area_get_height(&rect); in lv_draw_mask_radius()
1113 abs_x -= rect.x1; in lv_draw_mask_radius()
1114 abs_y -= rect.y1; in lv_draw_mask_radius()