Searched refs:cir_x (Results 1 – 3 of 3) sorted by relevance
213 int32_t cir_x; in get_cap_area() local216 cir_x = ((radius - thick_half) * lv_trigo_sin((int16_t)(90 - angle))) >> (LV_TRIGO_SHIFT - ps); in get_cap_area()220 if(cir_x > 0) { in get_cap_area()221 cir_x = (cir_x - pa) >> ps; in get_cap_area()222 out->x1 = cir_x - thick_half + thick_corr; in get_cap_area()223 out->x2 = cir_x + thick_half; in get_cap_area()226 cir_x = (cir_x + pa) >> ps; in get_cap_area()227 out->x1 = cir_x - thick_half; in get_cap_area()228 out->x2 = cir_x + thick_half - thick_corr; in get_cap_area()
507 int32_t cir_x; in get_rounded_area() local510 cir_x = ((radius - thick_half) * lv_trigo_sin(90 - angle)) >> (LV_TRIGO_SHIFT - ps); in get_rounded_area()514 if(cir_x > 0) { in get_rounded_area()515 cir_x = (cir_x - pa) >> ps; in get_rounded_area()516 res_area->x1 = cir_x - thick_half + thick_corr; in get_rounded_area()517 res_area->x2 = cir_x + thick_half; in get_rounded_area()520 cir_x = (cir_x + pa) >> ps; in get_rounded_area()521 res_area->x1 = cir_x - thick_half; in get_rounded_area()522 res_area->x2 = cir_x + thick_half - thick_corr; in get_rounded_area()
1385 lv_coord_t * cir_x = lv_mem_buf_get((radius + 1) * 2 * 2 * sizeof(lv_coord_t)); in circ_calc_aa4() local1386 lv_coord_t * cir_y = &cir_x[(radius + 1) * 2]; in circ_calc_aa4()1413 cir_x[cir_size] = x_int[0]; in circ_calc_aa4()1421 cir_x[cir_size] = x_int[0]; in circ_calc_aa4()1427 cir_x[cir_size] = x_int[0] - 1; in circ_calc_aa4()1435 cir_x[cir_size] = x_int[0]; in circ_calc_aa4()1441 cir_x[cir_size] = x_int[0] - 1; in circ_calc_aa4()1449 cir_x[cir_size] = x_int[0]; in circ_calc_aa4()1455 cir_x[cir_size] = x_int[0] - 1; in circ_calc_aa4()1468 if(cir_x[cir_size - 1] != mid_int || cir_y[cir_size - 1] != mid_int) { in circ_calc_aa4()[all …]