Lines Matching full:h
9 #include "lv_image_private.h"
10 #include "../../misc/lv_area_private.h"
11 #include "../../draw/lv_draw_image_private.h"
12 #include "../../draw/lv_draw_private.h"
13 #include "../../core/lv_obj_event_private.h"
14 #include "../../core/lv_obj_class_private.h"
17 #include "../../stdlib/lv_string.h"
230 header.h = size.y; in lv_image_set_src()
235 img->h = header.h; in lv_image_set_src()
287 int32_t h = lv_obj_get_height(obj); in lv_image_set_rotation() local
291 … lv_image_buf_get_transformed_area(&a, w, h, img->rotation, img->scale_x, img->scale_y, &pivot_px); in lv_image_set_rotation()
307 … lv_image_buf_get_transformed_area(&a, w, h, img->rotation, img->scale_x, img->scale_y, &pivot_px); in lv_image_set_rotation()
329 int32_t h = lv_obj_get_height(obj); in lv_image_set_pivot() local
333 … lv_image_buf_get_transformed_area(&a, w, h, img->rotation, img->scale_x, img->scale_y, &pivot_px); in lv_image_set_pivot()
350 … lv_image_buf_get_transformed_area(&a, w, h, img->rotation, img->scale_x, img->scale_y, &pivot_px); in lv_image_set_pivot()
504 pivot->y = lv_pct_to_px(img->pivot.y, img->h); in lv_image_get_pivot()
585 img->h = lv_obj_get_height(obj); in lv_image_constructor()
644 int32_t h = lv_obj_get_height(obj); in lv_image_event() local
645 … lv_image_buf_get_transformed_area(&a, w, h, img->rotation, img->scale_x, img->scale_y, &pivot_px); in lv_image_event()
649 *s = LV_MAX(*s, a.y2 - h); in lv_image_event()
657 if(img->w == lv_obj_get_width(obj) && img->h == lv_obj_get_height(obj) && in lv_image_event()
659 img->rotation != 0 || img->pivot.x != img->w / 2 || img->pivot.y != img->h / 2)) { in lv_image_event()
662 int32_t h = lv_obj_get_height(obj); in lv_image_event() local
664 …lv_image_buf_get_transformed_area(&coords, w, h, img->rotation, img->scale_x, img->scale_y, &pivot… in lv_image_event()
681 p->y = img->h; in lv_image_event()
747 if(img->h == 0 || img->w == 0) return; in draw_image()
772 obj->coords.y1 + img->h - 1); in draw_image()
787 … ((layer->_clip_area.y1 - draw_dsc.image_area.y1 - (img->h - 1)) / img->h) * img->h); in draw_image()
824 int32_t h = lv_obj_get_height(obj); in scale_update() local
828 … lv_image_buf_get_transformed_area(&a, w, h, img->rotation, img->scale_x, img->scale_y, &pivot_px); in scale_update()
845 … lv_image_buf_get_transformed_area(&a, w, h, img->rotation, img->scale_x, img->scale_y, &pivot_px); in scale_update()
859 if(img->w != 0 && img->h != 0) { in update_align()
862 int32_t scale_y = lv_obj_get_height(obj) * LV_SCALE_NONE / img->h; in update_align()