Crate fidl_fuchsia_ui_observation_geometry_common

Source

Structs§

AlignedExtent
A view’s bounding box, described in the view’s own coordinate system. Concretely, |AlignedExtent| describes the minimal and maximal points of a view’s bounding box, which is rectangular and axis-aligned.
Error
Layout
Geometric data of a view.
RotatableExtent
A view bounding box, described in another view’s coordinate system. Concretely, |RotatableExtent| describes the origin, size, and rotation angle about the origin, for a view’s bounding box.
ViewDescriptor
Data for a particular view: identifier, position, and children.
ViewTreeSnapshot
A description of the context view and its descendant views, if any.
WatchResponse
Response for fuchsia.ui.observation.geometry.ViewTreeWatcher.Watch.

Constants§

BUFFER_SIZE
The maximum number of ViewTreeSnapshots a client can expect in a Watch call’s response. The number of ViewTreeSnapshots can be less than BUFFER_SIZE when the size of a Watch call’s response exceeds the limit of a FIDL channel.
MAX_VIEW_COUNT
The maximum number of ViewDescriptors a client can expect in a ViewTreeSnapshot.

Type Aliases§

PixelScale
The ratio from physical pixels (of a display) to logical pixels (of the coordinate system of a view).