MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / GetSize

Function GetSize

Externals/imgui-1.46/Include/imgui_internal.h:201–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199
200 ImVec2 GetCenter() const { return ImVec2((Min.x+Max.x)*0.5f, (Min.y+Max.y)*0.5f); }
201 ImVec2 GetSize() const { return ImVec2(Max.x-Min.x, Max.y-Min.y); }
202 float GetWidth() const { return Max.x-Min.x; }
203 float GetHeight() const { return Max.y-Min.y; }
204 ImVec2 GetTL() const { return Min; }

Callers

nothing calls this directly

Calls 1

ImVec2Class · 0.85

Tested by

no test coverage detected