Lines Matching full:h
9 #include "lv_img.h"
12 #include "../core/lv_disp.h"
13 #include "../misc/lv_assert.h"
14 #include "../draw/lv_img_decoder.h"
15 #include "../misc/lv_fs.h"
16 #include "../misc/lv_txt.h"
17 #include "../misc/lv_math.h"
18 #include "../misc/lv_log.h"
145 header.h = size.y; in lv_img_set_src()
150 img->h = header.h; in lv_img_set_src()
153 img->pivot.y = header.h / 2; in lv_img_set_src()
193 lv_coord_t h = lv_obj_get_height(obj); in lv_img_set_angle() local
195 _lv_img_buf_get_transformed_area(&a, w, h, img->angle, img->zoom, &img->pivot); in lv_img_set_angle()
211 _lv_img_buf_get_transformed_area(&a, w, h, img->angle, img->zoom, &img->pivot); in lv_img_set_angle()
226 lv_coord_t h = lv_obj_get_height(obj); in lv_img_set_pivot() local
228 _lv_img_buf_get_transformed_area(&a, w, h, img->angle, img->zoom, &img->pivot); in lv_img_set_pivot()
245 _lv_img_buf_get_transformed_area(&a, w, h, img->angle, img->zoom, &img->pivot); in lv_img_set_pivot()
262 lv_coord_t h = lv_obj_get_height(obj); in lv_img_set_zoom() local
264 _lv_img_buf_get_transformed_area(&a, w, h, img->angle, img->zoom >> 8, &img->pivot); in lv_img_set_zoom()
280 _lv_img_buf_get_transformed_area(&a, w, h, img->angle, img->zoom, &img->pivot); in lv_img_set_zoom()
396 img->h = lv_obj_get_height(obj); in lv_img_constructor()
428 _lv_img_buf_get_transformed_area(&area_transform, img->w, img->h, in lv_img_get_transformed_size()
470 lv_coord_t h = lv_obj_get_height(obj); in lv_img_event() local
471 _lv_img_buf_get_transformed_area(&a, w, h, img->angle, img->zoom, &img->pivot); in lv_img_event()
475 *s = LV_MAX(*s, a.y2 - h); in lv_img_event()
483 if(img->w == lv_obj_get_width(obj) && img->h == lv_obj_get_height(obj) && in lv_img_event()
484 …LV_IMG_ZOOM_NONE || img->angle != 0 || img->pivot.x != img->w / 2 || img->pivot.y != img->h / 2)) { in lv_img_event()
487 lv_coord_t h = lv_obj_get_height(obj); in lv_img_event() local
489 _lv_img_buf_get_transformed_area(&coords, w, h, img->angle, img->zoom, &img->pivot); in lv_img_event()
510 p->y = img->h; in lv_img_event()
610 if(img->h == 0 || img->w == 0) return; in draw_img()
623 img_max_area.y1 -= ((img->h - img_size_final.y) + 1) / 2; in draw_img()
624 img_max_area.y2 -= ((img->h - img_size_final.y) + 1) / 2; in draw_img()
659 lv_coord_t offset_y = img->offset.y % img->h; in draw_img()
661 if(coords_tmp.y1 > img_max_area.y1) coords_tmp.y1 -= img->h; in draw_img()
662 coords_tmp.y2 = coords_tmp.y1 + img->h - 1; in draw_img()