Lines Matching full:h

9 #include "lv_draw_sw.h"
10 #include "../../misc/lv_math.h"
11 #include "../../misc/lv_txt_ap.h"
12 #include "../../core/lv_refr.h"
13 #include "../../misc/lv_assert.h"
14 #include "lv_draw_sw_dither.h"
155 int32_t h; in draw_bg() local
218 for(h = clipped_coords.y1; h <= clipped_coords.y2; h++) { in draw_bg()
219 blend_area.y1 = h; in draw_bg()
220 blend_area.y2 = h; in draw_bg()
225 blend_dsc.mask_res = lv_draw_mask_apply(mask_buf, clipped_coords.x1, h, clipped_w); in draw_bg()
229 if(dither_func) dither_func(grad, blend_area.x1, h - bg_coords.y1, grad_size); in draw_bg()
231 if(grad_dir == LV_GRAD_DIR_VER) blend_dsc.color = grad->map[h - bg_coords.y1]; in draw_bg()
238 for(h = 0; h < rout; h++) { in draw_bg()
239 lv_coord_t top_y = bg_coords.y1 + h; in draw_bg()
240 lv_coord_t bottom_y = bg_coords.y2 - h; in draw_bg()
293 for(h = bg_coords.y1 + rout; h <= h_end; h++) { in draw_bg()
297 blend_dsc.mask_res = lv_draw_mask_apply(mask_buf, clipped_coords.x1, h, clipped_w); in draw_bg()
300 blend_area.y1 = h; in draw_bg()
301 blend_area.y2 = h; in draw_bg()
304 if(dither_func) dither_func(grad, blend_area.x1, h - bg_coords.y1, grad_size); in draw_bg()
306 if(grad_dir == LV_GRAD_DIR_VER) blend_dsc.color = grad->map[h - bg_coords.y1]; in draw_bg()
369 area.y1 = coords->y1 + lv_area_get_height(coords) / 2 - header.h / 2; in draw_bg_img()
371 area.y2 = area.y1 + header.h - 1; in draw_bg_img()
378 area.y2 = area.y1 + header.h - 1; in draw_bg_img()
380 for(; area.y1 <= coords->y2; area.y1 += header.h, area.y2 += header.h) { in draw_bg_img()
1183 int32_t h; in draw_border_generic() local
1206 for(h = draw_area.y1; h <= draw_area.y2; h++) { in draw_border_generic()
1207 if(!top_side && h < core_area.y1) continue; in draw_border_generic()
1208 if(!bottom_side && h > core_area.y2) break; in draw_border_generic()
1210 blend_area.y1 = h; in draw_border_generic()
1211 blend_area.y2 = h; in draw_border_generic()
1214 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, draw_area.x1, h, draw_area_w); in draw_border_generic()
1281 for(h = 0; h < max_h; h++) { in draw_border_generic()
1282 lv_coord_t top_y = outer_area->y1 + h; in draw_border_generic()
1283 lv_coord_t bottom_y = outer_area->y2 - h; in draw_border_generic()
1309 for(h = draw_area.y1; h < core_area.y1; h++) { in draw_border_generic()
1310 blend_area.y1 = h; in draw_border_generic()
1311 blend_area.y2 = h; in draw_border_generic()
1314 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, blend_area.x1, h, blend_w); in draw_border_generic()
1320 for(h = core_area.y2 + 1; h <= draw_area.y2; h++) { in draw_border_generic()
1321 blend_area.y1 = h; in draw_border_generic()
1322 blend_area.y2 = h; in draw_border_generic()
1325 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, blend_area.x1, h, blend_w); in draw_border_generic()
1338 for(h = draw_area.y1; h < core_area.y1; h++) { in draw_border_generic()
1339 blend_area.y1 = h; in draw_border_generic()
1340 blend_area.y2 = h; in draw_border_generic()
1343 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, blend_area.x1, h, blend_w); in draw_border_generic()
1349 for(h = core_area.y2 + 1; h <= draw_area.y2; h++) { in draw_border_generic()
1350 blend_area.y1 = h; in draw_border_generic()
1351 blend_area.y2 = h; in draw_border_generic()
1354 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, blend_area.x1, h, blend_w); in draw_border_generic()