class Rect
Defined at line 830 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
An integral, rectangular, axis-aligned region in a 2D cartesian
space.
This type does not specify units. Protocols that use this type should
specify the characteristics of the vector space, including orientation and
units.
Public Methods
void Rect (Storage_ storage)
void Rect (int32_t x, int32_t y, int32_t width, int32_t height)
void Rect ()
Default constructs a |Rect| only if all of its members are default constructible.
Defined at line 841 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
void Rect (Rect && )
Defined at line 844 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
void Rect (const Rect & other)
Rect & operator= (Rect && )
Defined at line 845 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
Rect & operator= (const Rect & other)
bool operator== (const Rect & other)
bool operator!= (const Rect & other)
int32_t x ()
The location of the origin of the rectangle in the x-axis.
int32_t & x ()
The location of the origin of the rectangle in the x-axis.
Rect & x (int32_t value)
The location of the origin of the rectangle in the x-axis.
int32_t y ()
The location of the origin of the rectangle in the y-axis.
int32_t & y ()
The location of the origin of the rectangle in the y-axis.
Rect & y (int32_t value)
The location of the origin of the rectangle in the y-axis.
int32_t width ()
The distance along the x-axis.
If `width` is positive, the region includes x values starting at `x` and
increasing along the x-axis. If `width` is negative, the region includes
x values starting at `x` and decreasing along the x-axis.
int32_t & width ()
The distance along the x-axis.
If `width` is positive, the region includes x values starting at `x` and
increasing along the x-axis. If `width` is negative, the region includes
x values starting at `x` and decreasing along the x-axis.
Rect & width (int32_t value)
The distance along the x-axis.
If `width` is positive, the region includes x values starting at `x` and
increasing along the x-axis. If `width` is negative, the region includes
x values starting at `x` and decreasing along the x-axis.
int32_t height ()
The distance along the y-axis.
If `height` is positive, the region includes y values starting at `y`
and increasing along the y-axis. If `height` is negative, the region
includes y values starting at `y` and decreasing along the y-axis.
int32_t & height ()
The distance along the y-axis.
If `height` is positive, the region includes y values starting at `y`
and increasing along the y-axis. If `height` is negative, the region
includes y values starting at `y` and decreasing along the y-axis.
Rect & height (int32_t value)
The distance along the y-axis.
If `height` is positive, the region includes y values starting at `y`
and increasing along the y-axis. If `height` is negative, the region
includes y values starting at `y` and decreasing along the y-axis.
void Rect (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits