| 4364 | } |
| 4365 | |
| 4366 | void 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 |
nothing calls this directly
no test coverage detected