| 1578 | } |
| 1579 | |
| 1580 | void ImDrawList::AddTriangle(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness) |
| 1581 | { |
| 1582 | if ((col & IM_COL32_A_MASK) == 0) |
| 1583 | return; |
| 1584 | |
| 1585 | PathLineTo(p1); |
| 1586 | PathLineTo(p2); |
| 1587 | PathLineTo(p3); |
| 1588 | PathStroke(col, thickness, ImDrawFlags_Closed); |
| 1589 | } |
| 1590 | |
| 1591 | void ImDrawList::AddTriangleFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col) |
| 1592 | { |
no outgoing calls
no test coverage detected