Searched refs:x_safe (Results 1 – 1 of 1) sorted by relevance
/lvgl-latest/src/widgets/ |
D | lv_canvas.c | 268 lv_coord_t x_safe; in lv_canvas_blur_hor() local 281 x_safe = x < 0 ? 0 : x; in lv_canvas_blur_hor() 282 x_safe = x_safe > canvas->dsc.header.w - 1 ? canvas->dsc.header.w - 1 : x_safe; in lv_canvas_blur_hor() 284 c = lv_img_buf_get_px_color(&line_img, x_safe, 0, color); in lv_canvas_blur_hor() 285 if(has_alpha) opa = lv_img_buf_get_px_alpha(&line_img, x_safe, 0); in lv_canvas_blur_hor() 318 x_safe = x - r_back; in lv_canvas_blur_hor() 319 x_safe = x_safe < 0 ? 0 : x_safe; in lv_canvas_blur_hor() 320 c = lv_img_buf_get_px_color(&line_img, x_safe, 0, color); in lv_canvas_blur_hor() 321 if(has_alpha) opa = lv_img_buf_get_px_alpha(&line_img, x_safe, 0); in lv_canvas_blur_hor() 332 x_safe = x + 1 + r_front; in lv_canvas_blur_hor() [all …]
|