| 1472 | } |
| 1473 | |
| 1474 | void ImDrawList::AddLine(const ImVec2& p1, const ImVec2& p2, ImU32 col, float thickness) |
| 1475 | { |
| 1476 | if ((col & IM_COL32_A_MASK) == 0) |
| 1477 | return; |
| 1478 | PathLineTo(p1 + ImVec2(0.5f, 0.5f)); |
| 1479 | PathLineTo(p2 + ImVec2(0.5f, 0.5f)); |
| 1480 | PathStroke(col, thickness); |
| 1481 | } |
| 1482 | |
| 1483 | void ImDrawList::AddLineH(float min_x, float max_x, float y, ImU32 col, float thickness) |
| 1484 | { |
no test coverage detected