D | imgui_draw.cpp | 938 void ImDrawList::PathArcToFast(const ImVec2& centre, float radius, int a_min_of_12, int a_max_of_12) in PathArcToFast() argument 942 _Path.push_back(centre); in PathArcToFast() 949 _Path.push_back(ImVec2(centre.x + c.x * radius, centre.y + c.y * radius)); in PathArcToFast() 953 void ImDrawList::PathArcTo(const ImVec2& centre, float radius, float a_min, float a_max, int num_se… in PathArcTo() argument 957 _Path.push_back(centre); in PathArcTo() 967 _Path.push_back(ImVec2(centre.x + ImCos(a) * radius, centre.y + ImSin(a) * radius)); in PathArcTo() 1144 void ImDrawList::AddCircle(const ImVec2& centre, float radius, ImU32 col, int num_segments, float t… in AddCircle() argument 1151 PathArcTo(centre, radius-0.5f, 0.0f, a_max, num_segments - 1); in AddCircle() 1155 void ImDrawList::AddCircleFilled(const ImVec2& centre, float radius, ImU32 col, int num_segments) in AddCircleFilled() argument 1162 PathArcTo(centre, radius, 0.0f, a_max, num_segments - 1); in AddCircleFilled()
|