MCPcopy Create free account
hub / github.com/btbd/smap / ScaleClipRects

Method ScaleClipRects

example/imgui/imgui_draw.cpp:1206–1217  ·  view source on GitHub ↗

Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

ImVec4Class · 0.85

Tested by

no test coverage detected