template <>

class WireTableBuilder

Defined at line 921 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_types.h

Public Methods

template <typename First = ::fuchsia_math::wire::SizeU, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fuchsia_math::wire::SizeU>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_ui_composition::wire::LayoutInfo> & logical_size (First && first, Args &&... args_)

The layout size of a View in logical pixels, defined by the parent's call to

[`SetViewportProperties`].

The logical size also serves as the clip boundary of the View. Anything outside the clip

boundary will not be rendered. Hence, the View's Root Transform has a useful coordinate

space of (0, 0) to (logical_size.width, logical_size.height).

Clients should re-layout their content when this value changes.

Defined at line 941 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_types.h

template <typename First = ::fuchsia_math::wire::VecF, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fuchsia_math::wire::VecF>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_ui_composition::wire::LayoutInfo> & device_pixel_ratio (First && first, Args &&... args_)

The ratio of display's physical pixels to device independent pixels. Each logical pixel of a

View is displayed on-screen by one or more physical pixels, as determined by this scale.

Clients should not necessarily re-layout their content when this value changes, but

accommodate by reallocating their Image buffers to avoid sampling artifacts. The HiDPI-aware

client should allocate buffers that are sized (`logical_size`*`device_pixel_ratio`).

Defined at line 958 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_types.h

template <typename First = ::fuchsia_math::wire::Inset, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fuchsia_math::wire::Inset>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_ui_composition::wire::LayoutInfo> & inset (First && first, Args &&... args_)

The offsets between the edges and the visible rectangle of the View. The clients can assume

that the boundary region between the inset and the View edge is occluded, and should adjust

content layout to avoid this region. This inset is described in the view's logical

coordinate system. The HiDPI-aware clients should scale this by `device_pixel_ratio`.

Defined at line 974 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_types.h

Friends

template <>
class LayoutInfo