Lines Matching refs:y

82 void lv_canvas_set_px_color(lv_obj_t * obj, lv_coord_t x, lv_coord_t y, lv_color_t c)  in lv_canvas_set_px_color()  argument
88 lv_img_buf_set_px_color(&canvas->dsc, x, y, c); in lv_canvas_set_px_color()
92 void lv_canvas_set_px_opa(lv_obj_t * obj, lv_coord_t x, lv_coord_t y, lv_opa_t opa) in lv_canvas_set_px_opa() argument
98 lv_img_buf_set_px_alpha(&canvas->dsc, x, y, opa); in lv_canvas_set_px_opa()
116 lv_color_t lv_canvas_get_px(lv_obj_t * obj, lv_coord_t x, lv_coord_t y) in lv_canvas_get_px() argument
123 return lv_img_buf_get_px_color(&canvas->dsc, x, y, color); in lv_canvas_get_px()
138 void lv_canvas_copy_buf(lv_obj_t * obj, const void * to_copy, lv_coord_t x, lv_coord_t y, lv_coord_… in lv_canvas_copy_buf() argument
145 …if(x + w - 1 >= (lv_coord_t)canvas->dsc.header.w || y + h - 1 >= (lv_coord_t)canvas->dsc.header.h)… in lv_canvas_copy_buf()
151 uint32_t px = canvas->dsc.header.w * y * px_size + x * px_size; in lv_canvas_copy_buf()
173 int32_t y; in lv_canvas_transform() local
180 draw_dsc.pivot.y = pivot_y; in lv_canvas_transform()
191 for(y = 0; y < dest_img->header.h; y++) { in lv_canvas_transform()
197 lv_img_buf_set_px_color(dest_img, x, y, cbuf[x]); in lv_canvas_transform()
198 lv_img_buf_set_px_alpha(dest_img, x, y, abuf[x]); in lv_canvas_transform()
267 lv_coord_t y; in lv_canvas_blur_hor() local
270 for(y = a.y1; y <= a.y2; y++) { in lv_canvas_blur_hor()
278 lv_memcpy(line_buf, &canvas->dsc.data[y * line_w], line_w); in lv_canvas_blur_hor()
314 lv_img_buf_set_px_color(&canvas->dsc, x, y, c); in lv_canvas_blur_hor()
316 if(has_alpha) lv_img_buf_set_px_alpha(&canvas->dsc, x, y, opa); in lv_canvas_blur_hor()
394 lv_coord_t y; in lv_canvas_blur_ver() local
406 for(y = a.y1 - r_back; y <= a.y1 + r_front; y++) { in lv_canvas_blur_ver()
407 y_safe = y < 0 ? 0 : y; in lv_canvas_blur_ver()
429 for(y = a.y1; y <= a.y2; y++) { in lv_canvas_blur_ver()
442 lv_img_buf_set_px_color(&canvas->dsc, x, y, c); in lv_canvas_blur_ver()
444 if(has_alpha) lv_img_buf_set_px_alpha(&canvas->dsc, x, y, opa); in lv_canvas_blur_ver()
446 y_safe = y - r_back; in lv_canvas_blur_ver()
460 y_safe = y + 1 + r_front; in lv_canvas_blur_ver()
502 uint32_t y; in lv_canvas_fill_bg() local
503 for(y = 0; y < dsc->header.h; y++) { in lv_canvas_fill_bg()
505 lv_img_buf_set_px_color(dsc, x, y, color); in lv_canvas_fill_bg()
506 lv_img_buf_set_px_alpha(dsc, x, y, opa); in lv_canvas_fill_bg()
514 void lv_canvas_draw_rect(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_coord_t w, lv_coord_t h, in lv_canvas_draw_rect() argument
545 coords.y1 = y; in lv_canvas_draw_rect()
547 coords.y2 = y + h - 1; in lv_canvas_draw_rect()
558 void lv_canvas_draw_text(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_coord_t max_w, in lv_canvas_draw_text() argument
582 coords.y1 = y; in lv_canvas_draw_text()
594 void lv_canvas_draw_img(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, const void * src, in lv_canvas_draw_img() argument
624 coords.y1 = y; in lv_canvas_draw_img()
626 coords.y2 = y + header.h - 1; in lv_canvas_draw_img()
716 void lv_canvas_draw_arc(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_coord_t r, int32_t start_… in lv_canvas_draw_arc() argument
739 lv_point_t p = {x, y}; in lv_canvas_draw_arc()
750 LV_UNUSED(y); in lv_canvas_draw_arc()