Home
last modified time | relevance | path

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

/lvgl-3.6.0/src/widgets/
Dlv_canvas.c270 lv_coord_t x_safe; in lv_canvas_blur_hor() local
283 x_safe = x < 0 ? 0 : x; in lv_canvas_blur_hor()
284 x_safe = x_safe > canvas->dsc.header.w - 1 ? canvas->dsc.header.w - 1 : x_safe; in lv_canvas_blur_hor()
286 c = lv_img_buf_get_px_color(&line_img, x_safe, 0, color); in lv_canvas_blur_hor()
287 if(has_alpha) opa = lv_img_buf_get_px_alpha(&line_img, x_safe, 0); in lv_canvas_blur_hor()
320 x_safe = x - r_back; in lv_canvas_blur_hor()
321 x_safe = x_safe < 0 ? 0 : x_safe; in lv_canvas_blur_hor()
322 c = lv_img_buf_get_px_color(&line_img, x_safe, 0, color); in lv_canvas_blur_hor()
323 if(has_alpha) opa = lv_img_buf_get_px_alpha(&line_img, x_safe, 0); in lv_canvas_blur_hor()
334 x_safe = x + 1 + r_front; in lv_canvas_blur_hor()
[all …]