MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / PathArcToFast

Method PathArcToFast

extern/imgui/imgui_draw.cpp:1166–1174  ·  view source on GitHub ↗

0: East, 3: South, 6: West, 9: North, 12: East

Source from the content-addressed store, hash-verified

1164
1165// 0: East, 3: South, 6: West, 9: North, 12: East
1166void ImDrawList::PathArcToFast(const ImVec2& center, float radius, int a_min_of_12, int a_max_of_12)
1167{
1168 if (radius < 0.5f)
1169 {
1170 _Path.push_back(center);
1171 return;
1172 }
1173 _PathArcToFastEx(center, radius, a_min_of_12 * IM_DRAWLIST_ARCFAST_SAMPLE_MAX / 12, a_max_of_12 * IM_DRAWLIST_ARCFAST_SAMPLE_MAX / 12, 0);
1174}
1175
1176void ImDrawList::PathArcTo(const ImVec2& center, float radius, float a_min, float a_max, int num_segments)
1177{

Callers 3

TabItemBackgroundMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected