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

Function GetWidth

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

Source from the content-addressed store, hash-verified

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; }
205 ImVec2 GetTR() const { return ImVec2(Max.x, Min.y); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected