15flutter::DlRect BuildBounds(
float left,
float top,
float right,
float bottom) {
59 auto res = fml::MakeRefCounted<RSuperellipse>(
66 res->AssociateWithDartWrapper(wrapper);
71 : bounds_(bounds), radii_(radii) {}
flutter::DlRoundSuperellipse rsuperellipse() const
static void Create(Dart_Handle wrapper, double left, double top, double right, double bottom, double tl_radius_x, double tl_radius_y, double tr_radius_x, double tr_radius_y, double br_radius_x, double br_radius_y, double bl_radius_x, double bl_radius_y)
impeller::RoundSuperellipseParam param() const
~RSuperellipse() override
bool contains(double x, double y)
static void ThrowIfUIOperationsProhibited()
#define IMPLEMENT_WRAPPERTYPEINFO(LibraryName, ClassName)
static float SafeNarrow(double value)
static RoundSuperellipse MakeRectRadii(const Rect &rect, const RoundingRadii &radii)
static RoundSuperellipseParam MakeBoundsRadii(const Rect &bounds, const RoundingRadii &radii)
bool Contains(const Point &point) const
constexpr bool Contains(const TPoint< Type > &p) const
Returns true iff the provided point |p| is inside the half-open interior of this rectangle.
constexpr TRect GetPositive() const
Get a version of this rectangle that has a non-negative size.
static constexpr TRect MakeLTRB(Type left, Type top, Type right, Type bottom)