class RRectF

Defined at line 510 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/hlcpp/fuchsia/math/cpp/fidl.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 Members

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

Public Methods

::std::unique_ptr<RRectF> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, RRectF * value, size_t _offset)
zx_status_t Clone (RRectF * result)