class RRectF
Defined at line 1239 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
A floating point rounded rectangle with the custom radii for all four
corners.
A region in a 2D cartesian space consisting of linear, axis-aligned sides
with corners rounded into a quarter ellipse.
If the quarter ellipses in two corners would overlap, their radii are
clamped such that the ellipses meet with an axis-aligned tangent.
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 RRectF (Storage_ storage)
void RRectF (float x, float y, float width, float height, float top_left_radius_x, float top_left_radius_y, float top_right_radius_x, float top_right_radius_y, float bottom_left_radius_x, float bottom_left_radius_y, float bottom_right_radius_x, float bottom_right_radius_y)
void RRectF ()
Default constructs a |RRectF| only if all of its members are default constructible.
Defined at line 1250 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
void RRectF (RRectF && )
Defined at line 1253 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
void RRectF (const RRectF & other)
RRectF & operator= (RRectF && )
Defined at line 1254 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
RRectF & operator= (const RRectF & other)
bool operator== (const RRectF & other)
bool operator!= (const RRectF & other)
float x ()
The location of the origin of the region in the x-axis.
float & x ()
The location of the origin of the region in the x-axis.
RRectF & x (float value)
The location of the origin of the region in the x-axis.
float y ()
The location of the origin of the region in the y-axis.
float & y ()
The location of the origin of the region in the y-axis.
RRectF & y (float value)
The location of the origin of the region in the y-axis.
float 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.
float & 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.
RRectF & width (float 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.
float 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.
float & 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.
RRectF & height (float 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.
float top_left_radius_x ()
The radius of the quarter ellipse in the top-left corner along the
x-axis.
Must not be negative.
float & top_left_radius_x ()
The radius of the quarter ellipse in the top-left corner along the
x-axis.
Must not be negative.
RRectF & top_left_radius_x (float value)
The radius of the quarter ellipse in the top-left corner along the
x-axis.
Must not be negative.
float top_left_radius_y ()
The radius of the quarter ellipse in the top-left corner along the
y-axis.
Must not be negative.
float & top_left_radius_y ()
The radius of the quarter ellipse in the top-left corner along the
y-axis.
Must not be negative.
RRectF & top_left_radius_y (float value)
The radius of the quarter ellipse in the top-left corner along the
y-axis.
Must not be negative.
float top_right_radius_x ()
The radius of the quarter ellipse in the top-right corner along the
x-axis.
Must not be negative.
float & top_right_radius_x ()
The radius of the quarter ellipse in the top-right corner along the
x-axis.
Must not be negative.
RRectF & top_right_radius_x (float value)
The radius of the quarter ellipse in the top-right corner along the
x-axis.
Must not be negative.
float top_right_radius_y ()
The radius of the quarter ellipse in the top-right corner along the
y-axis.
Must not be negative.
float & top_right_radius_y ()
The radius of the quarter ellipse in the top-right corner along the
y-axis.
Must not be negative.
RRectF & top_right_radius_y (float value)
The radius of the quarter ellipse in the top-right corner along the
y-axis.
Must not be negative.
float bottom_left_radius_x ()
The radius of the quarter ellipse in the bottom-left corner along the
x-axis.
Must not be negative.
float & bottom_left_radius_x ()
The radius of the quarter ellipse in the bottom-left corner along the
x-axis.
Must not be negative.
RRectF & bottom_left_radius_x (float value)
The radius of the quarter ellipse in the bottom-left corner along the
x-axis.
Must not be negative.
float bottom_left_radius_y ()
The radius of the quarter ellipse in the bottom-left corner along the
y-axis.
Must not be negative.
float & bottom_left_radius_y ()
The radius of the quarter ellipse in the bottom-left corner along the
y-axis.
Must not be negative.
RRectF & bottom_left_radius_y (float value)
The radius of the quarter ellipse in the bottom-left corner along the
y-axis.
Must not be negative.
float bottom_right_radius_x ()
The radius of the quarter ellipse in the bottom-right corner along the
x-axis.
Must not be negative.
float & bottom_right_radius_x ()
The radius of the quarter ellipse in the bottom-right corner along the
x-axis.
Must not be negative.
RRectF & bottom_right_radius_x (float value)
The radius of the quarter ellipse in the bottom-right corner along the
x-axis.
Must not be negative.
float bottom_right_radius_y ()
The radius of the quarter ellipse in the bottom-right corner along the
y-axis.
Must not be negative.
float & bottom_right_radius_y ()
The radius of the quarter ellipse in the bottom-right corner along the
y-axis.
Must not be negative.
RRectF & bottom_right_radius_y (float value)
The radius of the quarter ellipse in the bottom-right corner along the
y-axis.
Must not be negative.
void RRectF (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits