MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / IsRectVisible

Method IsRectVisible

imgui_tiny_app/imgui/imgui.cpp:9500–9504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9498}
9499
9500bool ImGui::IsRectVisible(const ImVec2& size)
9501{
9502 ImGuiWindow* window = GImGui->CurrentWindow;
9503 return window->ClipRect.Overlaps(ImRect(window->DC.CursorPos, window->DC.CursorPos + size));
9504}
9505
9506bool ImGui::IsRectVisible(const ImVec2& rect_min, const ImVec2& rect_max)
9507{

Callers

nothing calls this directly

Calls 1

ImRectFunction · 0.70

Tested by

no test coverage detected