Lines Matching refs:thick_half
504 int32_t thick_half = thickness / 2; in get_rounded_area() local
510 cir_x = ((radius - thick_half) * lv_trigo_sin(90 - angle)) >> (LV_TRIGO_SHIFT - ps); in get_rounded_area()
511 cir_y = ((radius - thick_half) * lv_trigo_sin(angle)) >> (LV_TRIGO_SHIFT - 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()
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()
527 res_area->y1 = cir_y - thick_half + thick_corr; in get_rounded_area()
528 res_area->y2 = cir_y + thick_half; in get_rounded_area()
532 res_area->y1 = cir_y - thick_half; in get_rounded_area()
533 res_area->y2 = cir_y + thick_half - thick_corr; in get_rounded_area()