Lines Matching full:h

9 #include "lv_canvas.h"
10 #include "../misc/lv_assert.h"
11 #include "../misc/lv_math.h"
12 #include "../draw/lv_draw.h"
13 #include "../core/lv_refr.h"
17 #include "../draw/sw/lv_draw_sw.h"
66 void lv_canvas_set_buffer(lv_obj_t * obj, void * buf, lv_coord_t w, lv_coord_t h, lv_img_cf_t cf) in lv_canvas_set_buffer() argument
75 canvas->dsc.header.h = h; in lv_canvas_set_buffer()
138 …y_buf(lv_obj_t * obj, const void * to_copy, lv_coord_t x, lv_coord_t y, lv_coord_t w, lv_coord_t h) 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()
154 for(i = 0; i < h; i++) { in lv_canvas_copy_buf()
191 for(y = 0; y < dest_img->header.h; y++) { in lv_canvas_transform()
192 …lv_draw_sw_transform(NULL, &dest_area, src_img->data, src_img->header.w, src_img->header.h, src_im… in lv_canvas_transform()
238 if(a.y2 > canvas->dsc.header.h - 1) a.y2 = canvas->dsc.header.h - 1; in lv_canvas_blur_hor()
244 a.y2 = canvas->dsc.header.h - 1; in lv_canvas_blur_hor()
263 line_img.header.h = 1; in lv_canvas_blur_hor()
366 if(a.y2 > canvas->dsc.header.h - 1) a.y2 = canvas->dsc.header.h - 1; in lv_canvas_blur_ver()
372 a.y2 = canvas->dsc.header.h - 1; in lv_canvas_blur_ver()
383 lv_coord_t col_w = lv_img_buf_get_img_size(1, canvas->dsc.header.h, canvas->dsc.header.cf); in lv_canvas_blur_ver()
390 line_img.header.h = canvas->dsc.header.h; in lv_canvas_blur_ver()
408 y_safe = y_safe > canvas->dsc.header.h - 1 ? canvas->dsc.header.h - 1 : y_safe; in lv_canvas_blur_ver()
461 y_safe = y_safe > canvas->dsc.header.h - 1 ? canvas->dsc.header.h - 1 : y_safe; in lv_canvas_blur_ver()
494 lv_memset((uint8_t *)dsc->data + 8, color.full ? 0xff : 0x00, row_byte_cnt * dsc->header.h); in lv_canvas_fill_bg()
498 … lv_memset((uint8_t *)dsc->data, opa > LV_OPA_50 ? 0xff : 0x00, row_byte_cnt * dsc->header.h); in lv_canvas_fill_bg()
503 for(y = 0; y < dsc->header.h; y++) { 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
547 coords.y2 = y + h - 1; in lv_canvas_draw_rect()
584 coords.y2 = dsc->header.h - 1; in lv_canvas_draw_text()
626 coords.y2 = y + header.h - 1; in lv_canvas_draw_img()
772 canvas->dsc.header.h = 0; in lv_canvas_constructor()
798 clip_area->y2 = dsc->header.h - 1; in init_fake_disp()
806 disp->driver->ver_res = dsc->header.h; in init_fake_disp()