Searched refs:thick_corr (Results 1 – 2 of 2) sorted by relevance
211 uint8_t thick_corr = (thickness & 0x01) ? 0 : 1; in get_cap_area() local222 out->x1 = cir_x - thick_half + thick_corr; in get_cap_area()228 out->x2 = cir_x + thick_half - thick_corr; in get_cap_area()233 out->y1 = cir_y - thick_half + thick_corr; in get_cap_area()239 out->y2 = cir_y + thick_half - thick_corr; in get_cap_area()
505 uint8_t thick_corr = (thickness & 0x01) ? 0 : 1; in get_rounded_area() local516 res_area->x1 = cir_x - thick_half + thick_corr; 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()533 res_area->y2 = cir_y + thick_half - thick_corr; in get_rounded_area()