8#ifndef SkRectPriv_DEFINED
9#define SkRectPriv_DEFINED
25 const int32_t large = 1 << 29;
26 return { -large, -large, large, large };
static constexpr float sk_float_midpoint(float a, float b)
static bool SkFitsInFixed(T x)
static constexpr int32_t SK_MinS32
static constexpr int32_t SK_MaxS32
static bool FitsInFixed(const SkRect &r)
static skvx::int4 QuadContainsRectMask(const SkM44 &m, const SkRect &a, const SkRect &b, float tol=0.f)
static constexpr float HalfWidth(const SkRect &r)
static SkIRect MakeILarge()
static SkIRect ClosestDisjointEdge(const SkIRect &src, const SkIRect &dst)
static SkIRect Subtract(const SkIRect &a, const SkIRect &b)
static SkRect MakeLargeS32()
static constexpr SkRect MakeLargestInverted()
static SkRect Subtract(const SkRect &a, const SkRect &b)
static SkRect MakeLargest()
static constexpr float HalfHeight(const SkRect &r)
static SkIRect MakeILargestInverted()
static bool Subtract(const SkRect &a, const SkRect &b, SkRect *out)
static bool QuadContainsRect(const SkMatrix &m, const SkIRect &a, const SkIRect &b, float tol=0.f)
static void GrowToInclude(SkRect *r, const SkPoint &pt)
static float max(float r, float g, float b)
static float min(float r, float g, float b)
SkScalar fBottom
larger y-axis bounds
SkScalar fLeft
smaller x-axis bounds
SkScalar fRight
larger x-axis bounds
void set(const SkIRect &src)
SkScalar fTop
smaller y-axis bounds