MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / AddTriangleFilled

Method AddTriangleFilled

extern/imgui/imgui_draw.cpp:1471–1480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1469}
1470
1471void ImDrawList::AddTriangleFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col)
1472{
1473 if ((col & IM_COL32_A_MASK) == 0)
1474 return;
1475
1476 PathLineTo(p1);
1477 PathLineTo(p2);
1478 PathLineTo(p3);
1479 PathFillConvex(col);
1480}
1481
1482void ImDrawList::AddCircle(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness)
1483{

Callers 4

RenderArrowMethod · 0.80
RenderArrowPointingAtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected