class Metrics

Defined at line 102 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/wire_types.h

Describes the physical display, and how to map between physical and logical pixels.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_ui_display_singleton::wire::Metrics> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_ui_display_singleton::wire::Metrics> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_display_singleton::wire::Metrics>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Metrics ()

Defined at line 104 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/wire_types.h

void Metrics (const Metrics & other)

Defined at line 105 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/wire_types.h

Metrics & operator= (const Metrics & other)

Defined at line 106 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/wire_types.h

void Metrics (Metrics && other)

Defined at line 107 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/wire_types.h

::fuchsia_math::wire::SizeU & extent_in_px ()

Same meaning as `horizontal_resolution` and `vertical_resolution`

in `fuchsia.hardware.display.Mode`. Given in physical pixels.

bool has_extent_in_px ()
::fuchsia_math::wire::SizeU & extent_in_mm ()

Same meaning as `horizontal_size_mm` and `vertical_size_mm`

in `fuchsia.hardware.display.Info`.

bool has_extent_in_mm ()
Metrics & operator= (Metrics && other)

Defined at line 108 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/wire_types.h

::fuchsia_math::wire::VecF & recommended_device_pixel_ratio ()

The number of physical pixels per "logical" pixel, for example as in

`fuchsia.ui.composition.LayoutInfo.logical_size`. It provides an indication

of the size of image buffers that should be allocated. This value would typically

be used by a component near the root of the scene graph to set a scale for the rest

of the scene beneath.

bool has_recommended_device_pixel_ratio ()
uint32_t & maximum_refresh_rate_in_millihertz ()

The maximum mumber of images transmitted to the display in 1000 seconds.

This is the display's maximum vertical refresh rate, in millihertz (0.001 Hz).

bool has_maximum_refresh_rate_in_millihertz ()
void ~Metrics ()

Defined at line 110 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder