| 3781 | } |
| 3782 | |
| 3783 | ImPlotPoint GetPlotMousePos(ImAxis x_idx, ImAxis y_idx) { |
| 3784 | IM_ASSERT_USER_ERROR(GImPlot->CurrentPlot != nullptr, "GetPlotMousePos() needs to be called between BeginPlot() and EndPlot()!"); |
| 3785 | SetupLock(); |
| 3786 | return PixelsToPlot(ImGui::GetMousePos(), x_idx, y_idx); |
| 3787 | } |
| 3788 | |
| 3789 | ImPlotRect GetPlotLimits(ImAxis x_idx, ImAxis y_idx) { |
| 3790 | ImPlotContext& gp = *GImPlot; |
no test coverage detected