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

Owning normalized placement result; every represented cell lies in the allocation. The viewport defines the logical range. childClipSize excludes overlay ownership strips; it therefore may be smaller than viewport only for explicitly selected OVERLAY. More...

#include <scroll_geometry.hpp>

Public Attributes

CellPoint viewportOrigin
 Local content origin after the optional frame inset.
CellSize viewport
 Nonnegative logical viewport extent.
CellSize childClipSize
 Nonnegative descendant clip size at viewportOrigin.
ScrollTrack horizontal
 Bottom horizontal track, excluding corners.
ScrollTrack vertical
 Right vertical track, excluding corners.
CellPoint corner
 Shared gutter/overlay corner when hasCorner is true.
bool hasCorner {}
 False for ON_FRAME, whose corners belong to its outline.
bool horizontalBar {}
 Policy result, even when a tiny allocation leaves no track.
bool verticalBar {}
 Policy result, even when a tiny allocation leaves no track.

Detailed Description

Owning normalized placement result; every represented cell lies in the allocation. The viewport defines the logical range. childClipSize excludes overlay ownership strips; it therefore may be smaller than viewport only for explicitly selected OVERLAY.


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