class ContentBounds

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

Defines the size and position of a piece of graphical content.

The bounds of the content are assumed to be rectangular.

Public Methods

void ContentBounds ()

Defined at line 109 of file fidling/gen/sdk/fidl/fuchsia.ui.test.conformance/fuchsia.ui.test.conformance/cpp/fidl/fuchsia.ui.test.conformance/cpp/wire_types.h

void ContentBounds (const ContentBounds & other)

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

ContentBounds & operator= (const ContentBounds & other)

Defined at line 111 of file fidling/gen/sdk/fidl/fuchsia.ui.test.conformance/fuchsia.ui.test.conformance/cpp/fidl/fuchsia.ui.test.conformance/cpp/wire_types.h

void ContentBounds (ContentBounds && other)

Defined at line 112 of file fidling/gen/sdk/fidl/fuchsia.ui.test.conformance/fuchsia.ui.test.conformance/cpp/fidl/fuchsia.ui.test.conformance/cpp/wire_types.h

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_ui_test_conformance::wire::ContentBounds> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_ui_test_conformance::wire::ContentBounds> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_test_conformance::wire::ContentBounds>> frame)

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

ContentBounds & operator= (ContentBounds && other)

Defined at line 113 of file fidling/gen/sdk/fidl/fuchsia.ui.test.conformance/fuchsia.ui.test.conformance/cpp/fidl/fuchsia.ui.test.conformance/cpp/wire_types.h

::fuchsia_math::wire::SizeU & size ()

The size of the content, defined in its parent view's coordinate space.

For example, a parent view with size 1280x800 is assumed to have a

useful coordinate space from (0, 0) to (1280, 800). A piece of content

that's one-fourth the area of the parent view would have size 640x400.

bool has_size ()
::fuchsia_math::wire::Vec & origin ()

The location of the top-left corner of the content's origin, defined in

the parent view's coordinate space.

Returning to the example above, we could position the content to cover

the bottom-right quadrant of the parent by assigning an origin of

(640, 400).

bool has_origin ()
void ~ContentBounds ()

Defined at line 115 of file fidling/gen/sdk/fidl/fuchsia.ui.test.conformance/fuchsia.ui.test.conformance/cpp/fidl/fuchsia.ui.test.conformance/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder