MCPcopy Create free account
hub / github.com/brenocq/implot3d / GetFrameSize

Function GetFrameSize

implot3d.cpp:2222–2226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2220}
2221
2222ImVec2 GetFrameSize() {
2223 ImPlot3DContext& gp = *GImPlot3D;
2224 IM_ASSERT_USER_ERROR(gp.CurrentPlot != nullptr, "GetFrameSize() needs to be called between BeginPlot() and EndPlot()!");
2225 return gp.CurrentPlot->FrameRect.GetSize();
2226}
2227
2228ImPlot3DPoint PlotToNDC(const ImPlot3DPoint& point) {
2229 ImPlot3DContext& gp = *GImPlot3D;

Callers 1

DemoRealtimePlotsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected