MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / RenderTextClippedEx

Method RenderTextClippedEx

CPPScripts/External/ImGui/imgui.cpp:3642–3668  ·  view source on GitHub ↗

Default clip_rect uses (pos_min,pos_max) Handle clipping on CPU immediately (vs typically let the GPU clip the triangles that are overlapping the clipping rectangle edges) FIXME-OPT: Since we have or calculate text_size we could coarse clip whole block immediately, especally for text above draw_list->DrawList. Effectively as this is called from widget doing their own coarse clipping it's not very

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

ImMaxFunction · 0.85
AddTextMethod · 0.80

Tested by

no test coverage detected