MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / AddLineH

Method AddLineH

3rdparty/imgui/src/imgui_draw.cpp:1483–1490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1481}
1482
1483void ImDrawList::AddLineH(float min_x, float max_x, float y, ImU32 col, float thickness)
1484{
1485 if ((col & IM_COL32_A_MASK) == 0)
1486 return;
1487 PathLineTo(ImVec2(min_x + 0.5f, y + 0.5f)); // Same as AddLine() above.
1488 PathLineTo(ImVec2(max_x + 0.5f, y + 0.5f));
1489 PathStroke(col, thickness);
1490}
1491
1492void ImDrawList::AddLineV(float x, float min_y, float max_y, ImU32 col, float thickness)
1493{

Callers 11

TableEndRowMethod · 0.80
TableDrawBordersMethod · 0.80
DebugDrawCursorPosMethod · 0.80
DebugDrawLineExtentsMethod · 0.80
TextLinkMethod · 0.80
SeparatorTextExMethod · 0.80

Calls 1

ImVec2Function · 0.50

Tested by

no test coverage detected