MCPcopy Create free account
hub / github.com/TKazer/CS2_External / ClipPolygonShape

Function ClipPolygonShape

CS2_External/OS-ImGui/imgui/imgui_draw.cpp:1798–1937  ·  view source on GitHub ↗

Clip a polygonal shape to a rectangle, writing the results into dest_points. The number of points emitted is returned (may be zero if the polygon was entirely outside the rectangle, or the source polygon was not valid). dest_points may still be written to even if zero was returned. allocated_dest_points should contain the number of allocated points in dest_points - in general this should be the nu

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

AddSubtractedRectFunction · 0.85

Calls 2

ImVec2Function · 0.85
ImLengthSqrFunction · 0.85

Tested by

no test coverage detected