| 2200 | ImPlot3DPoint PixelsToPlotPlane(double x, double y, ImPlane3D plane, bool mask) { return PixelsToPlotPlane(ImVec2((float)x, (float)y), plane, mask); } |
| 2201 | |
| 2202 | ImVec2 GetPlotRectPos() { |
| 2203 | ImPlot3DContext& gp = *GImPlot3D; |
| 2204 | IM_ASSERT_USER_ERROR(gp.CurrentPlot != nullptr, "GetPlotRectPos() needs to be called between BeginPlot() and EndPlot()!"); |
| 2205 | SetupLock(); |
| 2206 | return gp.CurrentPlot->PlotRect.Min; |
| 2207 | } |
| 2208 | |
| 2209 | ImVec2 GetPlotRectSize() { |
| 2210 | ImPlot3DContext& gp = *GImPlot3D; |
no test coverage detected