class Metrics

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

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

Public Methods

void Metrics (Storage_ storage)
void Metrics ()

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

void Metrics (Metrics && )

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

void Metrics (const Metrics & other)
Metrics & operator= (Metrics && )

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

Metrics & operator= (const Metrics & other)
bool operator== (const Metrics & other)
bool operator!= (const Metrics & other)
bool IsEmpty ()
const std::optional< ::fuchsia_math::SizeU> & extent_in_px ()

Same meaning as `horizontal_resolution` and `vertical_resolution`

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

::std::optional< ::fuchsia_math::SizeU> & extent_in_px ()

Same meaning as `horizontal_resolution` and `vertical_resolution`

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

Metrics & extent_in_px (std::optional< ::fuchsia_math::SizeU> value)

Same meaning as `horizontal_resolution` and `vertical_resolution`

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

const std::optional< ::fuchsia_math::SizeU> & extent_in_mm ()

Same meaning as `horizontal_size_mm` and `vertical_size_mm`

in `fuchsia.hardware.display.Info`.

::std::optional< ::fuchsia_math::SizeU> & extent_in_mm ()

Same meaning as `horizontal_size_mm` and `vertical_size_mm`

in `fuchsia.hardware.display.Info`.

Metrics & extent_in_mm (std::optional< ::fuchsia_math::SizeU> value)

Same meaning as `horizontal_size_mm` and `vertical_size_mm`

in `fuchsia.hardware.display.Info`.

const std::optional< ::fuchsia_math::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.

::std::optional< ::fuchsia_math::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.

Metrics & recommended_device_pixel_ratio (std::optional< ::fuchsia_math::VecF> value)

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.

const std::optional<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).

::std::optional<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).

Metrics & maximum_refresh_rate_in_millihertz (std::optional<uint32_t> value)

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).

void Metrics (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits