MCPcopy Create free account
hub / github.com/RenderKit/embree / AddTriangleFilled

Method AddTriangleFilled

tutorials/common/imgui/imgui_draw.cpp:1462–1471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1460}
1461
1462void ImDrawList::AddTriangleFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col)
1463{
1464 if ((col & IM_COL32_A_MASK) == 0)
1465 return;
1466
1467 PathLineTo(p1);
1468 PathLineTo(p2);
1469 PathLineTo(p3);
1470 PathFillConvex(col);
1471}
1472
1473void ImDrawList::AddCircle(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness)
1474{

Callers 2

RenderArrowMethod · 0.80
RenderArrowPointingAtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected