MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / IsRectVisible

Method IsRectVisible

extern/imgui/imgui.cpp:8511–8515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8509}
8510
8511bool ImGui::IsRectVisible(const ImVec2& size)
8512{
8513 ImGuiWindow* window = GImGui->CurrentWindow;
8514 return window->ClipRect.Overlaps(ImRect(window->DC.CursorPos, window->DC.CursorPos + size));
8515}
8516
8517bool ImGui::IsRectVisible(const ImVec2& rect_min, const ImVec2& rect_max)
8518{

Callers

nothing calls this directly

Calls 1

ImRectFunction · 0.70

Tested by

no test coverage detected