Lines Matching full:h

10 #include "../../lv_conf_internal.h"
14 #include "../lv_draw_img.h"
15 #include "../lv_img_cache.h"
16 #include "../lv_draw_mask.h"
17 #include "../../misc/lv_lru.h"
18 #include "../../misc/lv_gc.h"
20 #include "lv_draw_sdl_img.h"
21 #include "lv_draw_sdl_utils.h"
22 #include "lv_draw_sdl_texture_cache.h"
23 #include "lv_draw_sdl_composite.h"
24 #include "lv_draw_sdl_rect.h"
25 #include "lv_draw_sdl_layer.h"
38 lv_coord_t w, h, radius; member
75 … const lv_draw_sdl_img_header_t * header, int w, int h, lv_coord_t radius,
78 …_draw_img_rounded_key_t rounded_key_create(const SDL_Texture * texture, lv_coord_t w, lv_coord_t h,
170 double x = 0, y = 0, w, h; in calc_draw_part() local
176 h = th; in calc_draw_part()
182 h = header->rect.h; in calc_draw_part()
194 clipped_src->y = (int)(y + (clipped_dst->y - coords->y1) * h / coords_h); in calc_draw_part()
196 clipped_src->h = (int)(h - (coords_h - clipped_dst->h) * h / coords_h); in calc_draw_part()
250 int h = (int) dsc->header.h; in upload_img_texture() local
260 …SDL_Surface * surface = SDL_CreateRGBSurfaceFrom(data, w, h, LV_COLOR_DEPTH, w * LV_COLOR_DEPTH / … in upload_img_texture()
270 lv_coord_t h = (lv_coord_t) dsc->header.h; in upload_img_texture_fallback() local
272 uint8_t * data = lv_mem_buf_get(w * h * sizeof(lv_color_t)); in upload_img_texture_fallback()
273 for(lv_coord_t y = 0; y < h; y++) { in upload_img_texture_fallback()
280 …SDL_Surface * surface = SDL_CreateRGBSurfaceFrom(data, w, h, LV_COLOR_DEPTH, w * LV_COLOR_DEPTH / … in upload_img_texture_fallback()
335 const int w = lv_area_get_width(coords), h = lv_area_get_height(coords); in draw_img_rounded() local
336 lv_coord_t real_radius = LV_MIN3(radius, w, h); in draw_img_rounded()
338 …SDL_Texture * frag = img_rounded_frag_obtain(ctx, texture, header, w, h, real_radius, &frag_in_cac… in draw_img_rounded()
348 for(int i = w > h ? ROUNDED_IMG_PART_LEFT : ROUNDED_IMG_PART_TOP, j = i + 3; i <= j; i++) { in draw_img_rounded()
400 … const lv_draw_sdl_img_header_t * header, int w, int h, lv_coord_t radius, in img_rounded_frag_obtain() argument
403 lv_draw_img_rounded_key_t key = rounded_key_create(texture, w, h, radius); in img_rounded_frag_obtain()
421 lv_area_t coords = {0, 0, w - 1, h - 1}; in img_rounded_frag_obtain()
437 cliprect.w = cliprect.h = radius; in img_rounded_frag_obtain()
484 …_draw_img_rounded_key_t rounded_key_create(const SDL_Texture * texture, lv_coord_t w, lv_coord_t h, in rounded_key_create() argument
492 key.h = h; in rounded_key_create()