MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / AS_ImDrawList_AddCircle

Function AS_ImDrawList_AddCircle

Source/Scripting/angelscript/asfuncs.cpp:4643–4649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4641}
4642
4643void AS_ImDrawList_AddCircle(const vec2& center, float radius, uint32_t col, int num_segments, float thickness) {
4644 ImDrawList* draw_list;
4645
4646 if (ImGui_TryGetWindowDrawList(&draw_list)) {
4647 draw_list->AddCircle(ImVec2(center[0], center[1]), radius, col, num_segments, thickness);
4648 }
4649}
4650
4651void AS_ImDrawList_AddCircleFilled(const vec2& center, float radius, uint32_t col, int num_segments) {
4652 ImDrawList* draw_list;

Callers

nothing calls this directly

Calls 3

ImVec2Function · 0.50
AddCircleMethod · 0.45

Tested by

no test coverage detected