MCPcopy Create free account
hub / github.com/cinder/Cinder / PathArcToFast

Method PathArcToFast

src/imgui/imgui_draw.cpp:1248–1256  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1246
1247// 0: East, 3: South, 6: West, 9: North, 12: East
1248void ImDrawList::PathArcToFast(const ImVec2& center, float radius, int a_min_of_12, int a_max_of_12)
1249{
1250 if (radius < 0.5f)
1251 {
1252 _Path.push_back(center);
1253 return;
1254 }
1255 _PathArcToFastEx(center, radius, a_min_of_12 * IM_DRAWLIST_ARCFAST_SAMPLE_MAX / 12, a_max_of_12 * IM_DRAWLIST_ARCFAST_SAMPLE_MAX / 12, 0);
1256}
1257
1258void ImDrawList::PathArcTo(const ImVec2& center, float radius, float a_min, float a_max, int num_segments)
1259{

Callers 5

TabItemExMethod · 0.80
TabItemBackgroundMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected