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

Method AddLine

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

Source from the content-addressed store, hash-verified

1472}
1473
1474void 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
1483void ImDrawList::AddLineH(float min_x, float max_x, float y, ImU32 col, float thickness)
1484{

Callers 13

CloseButtonMethod · 0.80
PlotExMethod · 0.80
TabItemExMethod · 0.80
DemoWindowInputsFunction · 0.80
DrawWindowTitleMethod · 0.80
MenuHeadingMethod · 0.80
MenuHeadingButtonMethod · 0.80
NavTabMethod · 0.80

Calls 1

ImVec2Function · 0.50

Tested by

no test coverage detected