Crate fidl_fuchsia_ui_observation_geometry

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.
ViewTreeWatcherControlHandle
ViewTreeWatcherEventStream
ViewTreeWatcherMarker
ViewTreeWatcherProxy
ViewTreeWatcherRequestStream
A Stream of incoming requests for fuchsia.ui.observation.geometry/ViewTreeWatcher.
ViewTreeWatcherSynchronousProxy
ViewTreeWatcherWatchResponder
WatchResponse
Response for fuchsia.ui.observation.geometry.ViewTreeWatcher.Watch.

Enums§

ViewTreeWatcherEvent
ViewTreeWatcherRequest
A method of obtaining view tree snapshots for a particular view, the “context view”, and its child views, if any. The returned data is a sequence of snapshots during the period of observation, which starts at the client’s prior Watch() call’s [epoch_end] (or zx.Time 0), and ending at the current [epoch_end]. The timebase is ZX_CLOCK_MONOTONIC.

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.

Traits§

ViewTreeWatcherProxyInterface

Type Aliases§

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