5#include "flutter/display_list/utils/dl_accumulation_rect.h"
13 if (
x >= min_x_ && x < max_x_ && y >= min_y_ &&
y < max_y_) {
39 if (min_x_ > r.
fLeft) {
42 if (min_y_ > r.
fTop) {
57 if (ar.min_x_ < max_x_ && ar.max_x_ > min_x_ &&
58 ar.min_y_ < max_y_ && ar.max_y_ > min_y_) {
61 if (min_x_ > ar.min_x_) {
64 if (min_y_ > ar.min_y_) {
67 if (max_x_ < ar.max_x_) {
70 if (max_y_ < ar.max_y_) {
76 return (max_x_ >= min_x_ && max_y_ >= min_y_)
82 min_x_ = std::numeric_limits<SkScalar>::infinity();
83 min_y_ = std::numeric_limits<SkScalar>::infinity();
84 max_x_ = -std::numeric_limits<SkScalar>::infinity();
85 max_y_ = -std::numeric_limits<SkScalar>::infinity();
86 overlap_detected_ =
false;
void accumulate(SkScalar x, SkScalar y)
void record_overlapping_bounds()
SINT bool isfinite(const Vec< N, T > &v)
static constexpr SkRect MakeEmpty()
SkScalar fBottom
larger y-axis bounds
SkScalar fLeft
smaller x-axis bounds
SkScalar fRight
larger x-axis bounds
static constexpr SkRect MakeLTRB(float l, float t, float r, float b)
SkScalar fTop
smaller y-axis bounds