Home
last modified time | relevance | path

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

/external/mesa3d/src/imgui/
Dimgui_draw.cpp3034 const float arc1_e = ImAcos01(1.0f - (rect.Max.x - p0.x) * inv_rounding); in RenderRectFilledRangeH() local
3036 if (arc1_b == arc1_e) in RenderRectFilledRangeH()
3041 else if (arc1_b == 0.0f && arc1_e == half_pi) in RenderRectFilledRangeH()
3048 draw_list->PathArcTo(ImVec2(x1, p0.y + rounding), rounding, -arc1_e, -arc1_b, 3); // TR in RenderRectFilledRangeH()
3049 draw_list->PathArcTo(ImVec2(x1, p1.y - rounding), rounding, +arc1_b, +arc1_e, 3); // BR in RenderRectFilledRangeH()