| 1475 | } |
| 1476 | |
| 1477 | void ImDrawList::AddTriangle(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness) |
| 1478 | { |
| 1479 | if ((col & IM_COL32_A_MASK) == 0) |
| 1480 | return; |
| 1481 | |
| 1482 | PathLineTo(p1); |
| 1483 | PathLineTo(p2); |
| 1484 | PathLineTo(p3); |
| 1485 | PathStroke(col, ImDrawFlags_Closed, thickness); |
| 1486 | } |
| 1487 | |
| 1488 | void ImDrawList::AddTriangleFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col) |
| 1489 | { |
no outgoing calls
no test coverage detected