MCPcopy Create free account
hub / github.com/clementgallet/libTAS / EndAlignedPlots

Function EndAlignedPlots

src/external/imgui/implot.cpp:4366–4374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4364}
4365
4366void EndAlignedPlots() {
4367 IM_ASSERT_USER_ERROR(GImPlot != nullptr, "No current context. Did you call ImPlot::CreateContext() or ImPlot::SetCurrentContext()?");
4368 ImPlotContext& gp = *GImPlot;
4369 IM_ASSERT_USER_ERROR(gp.CurrentAlignmentH != nullptr || gp.CurrentAlignmentV != nullptr, "Mismatched BeginAlignedPlots()/EndAlignedPlots()!");
4370 ImPlotAlignmentData* alignment = gp.CurrentAlignmentH != nullptr ? gp.CurrentAlignmentH : (gp.CurrentAlignmentV != nullptr ? gp.CurrentAlignmentV : nullptr);
4371 if (alignment)
4372 alignment->End();
4373 ResetCtxForNextAlignedPlots(GImPlot);
4374}
4375
4376//-----------------------------------------------------------------------------
4377// [SECTION] Plot and Item Styling

Callers

nothing calls this directly

Calls 2

EndMethod · 0.45

Tested by

no test coverage detected