| 1079 | } |
| 1080 | |
| 1081 | void ImDrawList::AddTriangle(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness) |
| 1082 | { |
| 1083 | if ((col & IM_COL32_A_MASK) == 0) |
| 1084 | return; |
| 1085 | |
| 1086 | PathLineTo(p1); |
| 1087 | PathLineTo(p2); |
| 1088 | PathLineTo(p3); |
| 1089 | PathStroke(col, true, thickness); |
| 1090 | } |
| 1091 | |
| 1092 | void ImDrawList::AddTriangleFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col) |
| 1093 | { |
no outgoing calls
no test coverage detected