MCPcopy Create free account
hub / github.com/OpenSpace/OpenSpace / PushClipRect

Method PushClipRect

modules/imgui/ext/imgui/imgui.cpp:4300–4305  ·  view source on GitHub ↗

Push a clipping rectangle for both ImGui logic (hit-testing etc.) and low-level ImDrawList rendering. - When using this function it is sane to ensure that float are perfectly rounded to integer values, so that e.g. (int)(max.x-min.x) in user's render produce correct result. - If the code here changes, may need to update code of functions like NextColumn() and PushColumnClipRect(): some frequently

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

TableUpdateLayoutMethod · 0.45
TableDrawBordersMethod · 0.45
RenderNavHighlightMethod · 0.45
GetViewportDrawListFunction · 0.45
AcceptDragDropPayloadMethod · 0.45
ShowDemoWindowLayoutFunction · 0.45

Calls 1

GetCurrentWindowFunction · 0.85

Tested by

no test coverage detected