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

Method AddLineV

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

Source from the content-addressed store, hash-verified

1490}
1491
1492void ImDrawList::AddLineV(float x, float min_y, float max_y, ImU32 col, float thickness)
1493{
1494 if ((col & IM_COL32_A_MASK) == 0)
1495 return;
1496 PathLineTo(ImVec2(x + 0.5f, min_y + 0.5f)); // Same as AddLine() above.
1497 PathLineTo(ImVec2(x + 0.5f, max_y + 0.5f));
1498 PathStroke(col, thickness);
1499}
1500
1501// p_min = upper-left, p_max = lower-right
1502// Note we don't render 1 pixels sized rectangles properly.

Callers 9

TableDrawBordersMethod · 0.80
EndColumnsMethod · 0.80
DebugNodeTabBarMethod · 0.80
DebugDrawCursorPosMethod · 0.80
DebugDrawLineExtentsMethod · 0.80
InputTextExMethod · 0.80

Calls 1

ImVec2Function · 0.50

Tested by

no test coverage detected