Searched refs:half_w (Results 1 – 4 of 4) sorted by relevance
/lvgl-latest/src/draw/vg_lite/ |
D | lv_draw_vg_lite_line.c | 56 float half_w = dsc->width * 0.5f; in lv_draw_vg_lite_line() local 59 rel_clip_area.x1 = (int32_t)(LV_MIN(p1_x, p2_x) - half_w); in lv_draw_vg_lite_line() 60 rel_clip_area.x2 = (int32_t)(LV_MAX(p1_x, p2_x) + half_w); in lv_draw_vg_lite_line() 61 rel_clip_area.y1 = (int32_t)(LV_MIN(p1_y, p2_y) - half_w); in lv_draw_vg_lite_line() 62 rel_clip_area.y2 = (int32_t)(LV_MAX(p1_y, p2_y) + half_w); in lv_draw_vg_lite_line()
|
D | lv_draw_vg_lite_box_shadow.c | 73 int32_t half_w = dsc->width / 2; in lv_draw_vg_lite_box_shadow() local 75 for(int32_t w = 0; w < half_w; w++) { in lv_draw_vg_lite_box_shadow() 76 border_dsc.opa = lv_map(w, 0, half_w, dsc->opa / 4, LV_OPA_0); in lv_draw_vg_lite_box_shadow()
|
D | lv_vg_lite_path.c | 420 const float half_w = w / 2.0f; in lv_vg_lite_path_append_rect() local 424 const float r_max = LV_MIN(half_w, half_h); in lv_vg_lite_path_append_rect() 440 if(math_equal(r, half_w) && math_equal(r, half_h)) { in lv_vg_lite_path_append_rect() 441 lv_vg_lite_path_append_circle(path, x + half_w, y + half_h, r, r); in lv_vg_lite_path_append_rect()
|
D | lv_draw_vg_lite_border.c | 123 const float half_w = w / 2.0f; in path_append_inner_rect() local 126 const float border_w_max = LV_MIN(half_w, half_h); in path_append_inner_rect()
|