Home
last modified time | relevance | path

Searched refs:half_inner_thickness (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui_draw.cpp759 const float half_inner_thickness = (thickness - AA_SIZE) * 0.5f; in AddPolyline() local
762 temp_points[0] = points[0] + temp_normals[0] * (half_inner_thickness + AA_SIZE); in AddPolyline()
763 temp_points[1] = points[0] + temp_normals[0] * (half_inner_thickness); in AddPolyline()
764 temp_points[2] = points[0] - temp_normals[0] * (half_inner_thickness); in AddPolyline()
765 temp_points[3] = points[0] - temp_normals[0] * (half_inner_thickness + AA_SIZE); in AddPolyline()
766 …1)*4+0] = points[points_count-1] + temp_normals[points_count-1] * (half_inner_thickness + AA_SIZE); in AddPolyline()
767 …nts_count-1)*4+1] = points[points_count-1] + temp_normals[points_count-1] * (half_inner_thickness); in AddPolyline()
768 …nts_count-1)*4+2] = points[points_count-1] - temp_normals[points_count-1] * (half_inner_thickness); in AddPolyline()
769 …1)*4+3] = points[points_count-1] - temp_normals[points_count-1] * (half_inner_thickness + AA_SIZE); in AddPolyline()
783 float dm_out_x = dm_x * (half_inner_thickness + AA_SIZE); in AddPolyline()
[all …]