Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::LayoutGeometrySnapshot Struct Reference

Owning geometry independent of later live invalidation or widget destruction. descendantClip precedes ancestor intersection; an off-viewport target may have an empty cumulative clip while its unclipped surface rectangle remains useful for reveal. More...

#include <layout_snapshot.hpp>

Public Attributes

Node< Widget > parent
 Captured full parent identity, without ownership.
NodeGeometry geometry
 Full local/surface bounds and cumulative paint clip.
CellRect descendantClip
 Pure childClip translated to surface coordinates.
bool visible {}
 Effective visibility; visible zero differs from hidden.
std::optional< ScrollAreaLayoutSnapshot > scrollArea
 Copied derived values for an initialized area.
std::optional< ParentLayoutEdge > parentLayoutEdge
 Specialized edge, before ancestor intersection.
std::optional< std::uint64_t > geometryEpoch
 Nonreused stamp of this child's arrangement.

Detailed Description

Owning geometry independent of later live invalidation or widget destruction. descendantClip precedes ancestor intersection; an off-viewport target may have an empty cumulative clip while its unclipped surface rectangle remains useful for reveal.


The documentation for this struct was generated from the following file: