| 9498 | } |
| 9499 | |
| 9500 | bool 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 | |
| 9506 | bool ImGui::IsRectVisible(const ImVec2& rect_min, const ImVec2& rect_max) |
| 9507 | { |