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

Method Fit

src/external/imgui/implot_items.cpp:761–766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

759 FitterRect(rect.Min(), rect.Max())
760 { }
761 void Fit(ImPlotAxis& x_axis, ImPlotAxis& y_axis) const {
762 x_axis.ExtendFitWith(y_axis, Pmin.x, Pmin.y);
763 y_axis.ExtendFitWith(x_axis, Pmin.y, Pmin.x);
764 x_axis.ExtendFitWith(y_axis, Pmax.x, Pmax.y);
765 y_axis.ExtendFitWith(x_axis, Pmax.y, Pmax.x);
766 }
767 const ImPlotPoint Pmin;
768 const ImPlotPoint Pmax;
769};

Callers

nothing calls this directly

Calls 1

ExtendFitWithMethod · 0.80

Tested by

no test coverage detected