| 3851 | } |
| 3852 | |
| 3853 | IMPLOT_API void TagX(double x, const ImVec4& color, bool round) { |
| 3854 | ImPlotContext& gp = *GImPlot; |
| 3855 | IM_ASSERT_USER_ERROR(gp.CurrentPlot != nullptr, "TagX() needs to be called between BeginPlot() and EndPlot()!"); |
| 3856 | Tag(gp.CurrentPlot->CurrentX, x, color, round); |
| 3857 | } |
| 3858 | |
| 3859 | IMPLOT_API void TagX(double x, const ImVec4& color, const char* fmt, ...) { |
| 3860 | ImPlotContext& gp = *GImPlot; |