MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / PathArcToFast

Method PathArcToFast

KBotExt/imgui/imgui_draw.cpp:1160–1168  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 3

TabItemBackgroundMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected