MCPcopy Create free account
hub / github.com/randrew/layout / lay_get_rect

Function lay_get_rect

layout.h:403–407  ·  view source on GitHub ↗

Returns the calculated rectangle of an item. This is only valid after calling lay_run_context and before any other reallocation occurs. Otherwise, the result will be undefined. The vector components are: 0: x starting position, 1: y starting position 2: width, 3: height

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

test_layout.cFile · 0.85
lualay_get_rectFunction · 0.85
benchmark_nestedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…